To: vim_dev@googlegroups.com Subject: Patch 8.0.1824 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1824 Problem: Coverity warns for variable that may be uninitialized. Solution: Initialize the variable. Files: src/terminal.c *** ../vim-8.0.1823/src/terminal.c 2018-05-12 20:36:20.837984312 +0200 --- src/terminal.c 2018-05-12 21:14:15.538571673 +0200 *************** *** 2088,2094 **** int tty_fd = curbuf->b_term->tl_job->jv_channel ->ch_part[get_tty_part(curbuf->b_term)].ch_fd; #endif ! int restore_cursor; /* Remember the terminal we are sending keys to. However, the terminal * might be closed while waiting for a character, e.g. typing "exit" in a --- 2088,2094 ---- int tty_fd = curbuf->b_term->tl_job->jv_channel ->ch_part[get_tty_part(curbuf->b_term)].ch_fd; #endif ! int restore_cursor = FALSE; /* Remember the terminal we are sending keys to. However, the terminal * might be closed while waiting for a character, e.g. typing "exit" in a *** ../vim-8.0.1823/src/version.c 2018-05-12 21:12:07.823426407 +0200 --- src/version.c 2018-05-12 21:15:47.297957667 +0200 *************** *** 763,764 **** --- 763,766 ---- { /* Add new patch number below this line */ + /**/ + 1824, /**/ -- Arthur pulls Pin out. The MONK blesses the grenade as ... ARTHUR: (quietly) One, two, five ... GALAHAD: Three, sir! ARTHUR: Three. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///