diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-01-24 23:17:13 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-01-24 23:17:13 -0500 |
commit | 41434e688110897551e04e4f5301a6a4e2fdf84f (patch) | |
tree | ae2070314bb3f68f0d1bcfa314418759bb53e7b4 /src | |
parent | e1d81178ccf374e7142207356a022bdf10571918 (diff) | |
download | rneovim-41434e688110897551e04e4f5301a6a4e2fdf84f.tar.gz rneovim-41434e688110897551e04e4f5301a6a4e2fdf84f.tar.bz2 rneovim-41434e688110897551e04e4f5301a6a4e2fdf84f.zip |
coverity/134885: Using uninitialized value
Case: (dobin > 1) && (pre != 0)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index e0c9443511..2a76983870 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -1791,7 +1791,7 @@ void vim_str2nr(char_u *start, int *prep, int *len, int pre = 0; // default is decimal int negative = false; unsigned long un = 0; - int n; + int n = 0; if (ptr[0] == '-') { negative = true; |