# HG changeset patch # User Christian Brabandt # Date 1526153406 -7200 # Node ID 0ae89b121c586cdef8022b3883c27cb04c2ccf92 # Parent 7c7d949c421761613585a9867600502e3036edc2 patch 8.0.1824: Coverity warns for variable that may be uninitialized commit https://github.com/vim/vim/commit/73dd1bd54e3d358f156f45e956f6e56527238ac6 Author: Bram Moolenaar Date: Sat May 12 21:16:25 2018 +0200 patch 8.0.1824: Coverity warns for variable that may be uninitialized Problem: Coverity warns for variable that may be uninitialized. Solution: Initialize the variable. diff --git a/src/terminal.c b/src/terminal.c --- a/src/terminal.c +++ b/src/terminal.c @@ -2088,7 +2088,7 @@ terminal_loop(int blocking) int tty_fd = curbuf->b_term->tl_job->jv_channel ->ch_part[get_tty_part(curbuf->b_term)].ch_fd; #endif - int restore_cursor; + 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1824, +/**/ 1823, /**/ 1822,