]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1815 v7.4.1815
authorBram Moolenaar <Bram@vim.org>
Sun, 1 May 2016 18:20:49 +0000 (20:20 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 1 May 2016 18:20:49 +0000 (20:20 +0200)
Problem:    Compiler warnings for unused variables. (Ajit Thakkar)
Solution:   Add a dummy initialization. (Yasuhiro Matsumoto)

src/quickfix.c
src/version.c

index 6a38c789a300f8b9d645ac0d48ee8354d2cfb22d..db4c0fa7fc5bb8829b8f1faa919f434c870b34f9 100644 (file)
@@ -207,9 +207,9 @@ qf_init_ext(
     char_u         *fmtstr = NULL;
     char_u         *growbuf = NULL;
     int                    growbuflen;
-    int                    growbufsiz;
-    char_u         *linebuf;
-    int                    linelen;
+    int                    growbufsiz = 0;
+    char_u         *linebuf = NULL;
+    int                    linelen = 0;
     int                    discard;
     int                    col = 0;
     char_u         use_viscol = FALSE;
index 0d78470579b20d75b8695e9a621b871c6aa79f80..3ecf611397ab12e67f92f4cdbc378924aa6d8354 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1815,
 /**/
     1814,
 /**/