changeset 9060:616793d0412b v7.4.1815

commit https://github.com/vim/vim/commit/9a3b3311d26c990208150255ad65472bb4eefaa4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 1 20:20:49 2016 +0200 patch 7.4.1815 Problem: Compiler warnings for unused variables. (Ajit Thakkar) Solution: Add a dummy initialization. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Sun, 01 May 2016 20:30:05 +0200
parents df632f7b8a8d
children 37378cd98b84
files src/quickfix.c src/version.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -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;
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1815,
+/**/
     1814,
 /**/
     1813,