summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-05 12:42:42 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-05 12:42:42 +0100
commit28ada699c13833219acaeb7e768acc2acae50e02 (patch)
treea0f742fb52bb7ef146283c0824405b7f8175a189
parent24fe4758941a5a59669f135e45ea7ec69d16fe9f (diff)
downloadvim-git-28ada699c13833219acaeb7e768acc2acae50e02.tar.gz
patch 8.0.1569: warning for uninitialized variable from gccv8.0.1569
Problem: Warning for uninitialized variable from gcc. Solution: Initialize the variable.
-rw-r--r--src/quickfix.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1569,
+/**/
1568,
/**/
1567,