mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
eval: Fix -Werror=unitialized from QB
This commit is contained in:
parent
29bad04f9e
commit
f4256243db
@ -2107,7 +2107,7 @@ static char_u *get_lval(char_u *const name, typval_T *const rettv,
|
||||
}
|
||||
|
||||
int len = -1;
|
||||
char_u *key;
|
||||
char_u *key = NULL;
|
||||
if (*p == '.') {
|
||||
key = p + 1;
|
||||
for (len = 0; ASCII_ISALNUM(key[len]) || key[len] == '_'; len++) {
|
||||
|
Loading…
Reference in New Issue
Block a user