0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.0.1569: warning for uninitialized variable from gcc

Problem:    Warning for uninitialized variable from gcc.
Solution:   Initialize the variable.
This commit is contained in:
Bram Moolenaar
2018-03-05 12:42:42 +01:00
parent 24fe475894
commit 28ada699c1
2 changed files with 3 additions and 1 deletions

View File

@@ -4099,7 +4099,7 @@ ex_cfile(exarg_T *eap)
win_T *wp = NULL; win_T *wp = NULL;
qf_info_T *qi = &ql_info; qf_info_T *qi = &ql_info;
char_u *au_name = NULL; char_u *au_name = NULL;
int save_qfid; int save_qfid = 0; // init for gcc
int res; int res;
switch (eap->cmdidx) switch (eap->cmdidx)

View File

@@ -766,6 +766,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1569,
/**/ /**/
1568, 1568,
/**/ /**/