mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #4095 from justinmk/coverity134885
coverity/134885: Using uninitialized value
This commit is contained in:
commit
63d0f6e94a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user