aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-08-05 21:53:03 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-08-06 02:51:49 +0200
commit50c8f19d614d4752ac1d2d19b5bc7c05f6d354f9 (patch)
treed9833c3ad974ff62cb4429d663054660f3adc7e4
parent30996359efbba90ce03ac3de7e39f20db9ce486b (diff)
downloadrneovim-50c8f19d614d4752ac1d2d19b5bc7c05f6d354f9.tar.gz
rneovim-50c8f19d614d4752ac1d2d19b5bc7c05f6d354f9.tar.bz2
rneovim-50c8f19d614d4752ac1d2d19b5bc7c05f6d354f9.zip
build: silence maybe-uninitialized warning
False positive. From C:\msys64\mingw64\bin\gcc.exe (appveyor CI)
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index a41e78d44a..ecd5c81822 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -1455,7 +1455,7 @@ static int command_line_handle_key(CommandLineState *s)
if (s->hiscnt != s->i) {
// jumped to other entry
char_u *p;
- int len;
+ int len = 0;
int old_firstc;
xfree(ccline.cmdbuff);