0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -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;
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)