From: Bram Moolenaar Date: Mon, 5 Mar 2018 11:42:42 +0000 (+0100) Subject: patch 8.0.1569: warning for uninitialized variable from gcc X-Git-Tag: v8.0.1569 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28ada699c13833219acaeb7e768acc2acae50e02;p=vim patch 8.0.1569: warning for uninitialized variable from gcc Problem: Warning for uninitialized variable from gcc. Solution: Initialize the variable. --- diff --git a/src/quickfix.c b/src/quickfix.c index 23cb92696..7ee386dbb 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -4099,7 +4099,7 @@ ex_cfile(exarg_T *eap) win_T *wp = NULL; qf_info_T *qi = &ql_info; char_u *au_name = NULL; - int save_qfid; + int save_qfid = 0; // init for gcc int res; switch (eap->cmdidx) diff --git a/src/version.c b/src/version.c index 96ac824ee..2b64f3692 100644 --- a/src/version.c +++ b/src/version.c @@ -766,6 +766,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1569, /**/ 1568, /**/