diff options
author | James McCoy <jamessan@jamessan.com> | 2016-12-12 15:04:57 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-12-27 14:10:25 -0500 |
commit | b9c5ca21e6a666dfcd3324720ca59ed52ce34883 (patch) | |
tree | 512057fdf8bbd6b43ace2735966095383fd423cb /src | |
parent | 48b5d0f1ba1ad75411f6510ed79d322116ba6809 (diff) | |
download | rneovim-b9c5ca21e6a666dfcd3324720ca59ed52ce34883.tar.gz rneovim-b9c5ca21e6a666dfcd3324720ca59ed52ce34883.tar.bz2 rneovim-b9c5ca21e6a666dfcd3324720ca59ed52ce34883.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/quickfix.c | 6 | ||||
-rw-r--r-- | src/nvim/version.c | 2 |
2 files changed, 4 insertions, 4 deletions
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, |