[vim] 133/139: patch 7.4.1815 Problem: Compiler warnings for unused variables. (Ajit Thakkar) Solution: Add a dummy initialization. (Yasuhiro Matsumoto)

James McCoy jamessan at debian.org
Fri May 6 04:00:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch debian/sid
in repository vim.

commit 9a3b3311d26c990208150255ad65472bb4eefaa4
Author: Bram Moolenaar <Bram at 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)
---
 src/quickfix.c | 6 +++---
 src/version.c  | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/quickfix.c b/src/quickfix.c
index 6a38c78..db4c0fa 100644
--- 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;
diff --git a/src/version.c b/src/version.c
index 0d78470..3ecf611 100644
--- 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,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git



More information about the pkg-vim-maintainers mailing list