Skip to content
Permalink
Browse files

patch 8.0.1569: warning for uninitialized variable from gcc

Problem:    Warning for uninitialized variable from gcc.
Solution:   Initialize the variable.
  • Loading branch information
brammool committed Mar 5, 2018
1 parent 24fe475 commit 28ada699c13833219acaeb7e768acc2acae50e02
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/quickfix.c
  2. +2 −0 src/version.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)
@@ -766,6 +766,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1569,
/**/
1568,
/**/

0 comments on commit 28ada69

Please sign in to comment.
You can’t perform that action at this time.