From b9c5ca21e6a666dfcd3324720ca59ed52ce34883 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Mon, 12 Dec 2016 15:04:57 -0500 Subject: vim-patch:7.4.1815 Problem: Compiler warnings for unused variables. (Ajit Thakkar) Solution: Add a dummy initialization. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/9a3b3311d26c990208150255ad65472bb4eefaa4 --- src/nvim/quickfix.c | 6 +++--- src/nvim/version.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index b4f8750c4c..1188ed7fd4 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -200,9 +200,9 @@ qf_init_ext ( char_u *fmtstr = NULL; char_u *growbuf = NULL; size_t growbuflen; - size_t growbufsiz; - char_u *linebuf; - size_t linelen; + size_t growbufsiz = 0; + char_u *linebuf = NULL; + size_t linelen = 0; bool discard; int col = 0; bool use_viscol = false; diff --git a/src/nvim/version.c b/src/nvim/version.c index 5edced3f0d..e8f639fcd4 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -624,7 +624,7 @@ static int included_patches[] = { 1818, // 1817 NA 1816, - // 1815, + 1815, // 1814 NA 1813, // 1812, -- cgit