mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
eval.c: filter_map(): avoid maybe-uninitialized warning (#5897)
maybe-uninitialized warning observed with -Ofast.
This commit is contained in:

committed by
Justin M. Keyes

parent
ffdf1904d6
commit
1fee9a7151
@@ -9251,7 +9251,7 @@ static void filter_map(typval_T *argvars, typval_T *rettv, int map)
|
||||
dict_T *d = NULL;
|
||||
typval_T save_val;
|
||||
typval_T save_key;
|
||||
int rem;
|
||||
int rem = false;
|
||||
int todo;
|
||||
char_u *ermsg = (char_u *)(map ? "map()" : "filter()");
|
||||
char_u *arg_errmsg = (char_u *)(map ? N_("map() argument")
|
||||
|
Reference in New Issue
Block a user