mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: fix warning
This commit is contained in:
parent
8376d2c4b1
commit
cf072cf223
@ -3783,8 +3783,8 @@ int ins_compl_add_tv(typval_T *const tv, const Direction dir)
|
|||||||
icase = (bool)tv_dict_get_number(tv->vval.v_dict, "icase");
|
icase = (bool)tv_dict_get_number(tv->vval.v_dict, "icase");
|
||||||
adup = (bool)tv_dict_get_number(tv->vval.v_dict, "dup");
|
adup = (bool)tv_dict_get_number(tv->vval.v_dict, "dup");
|
||||||
aempty = (bool)tv_dict_get_number(tv->vval.v_dict, "empty");
|
aempty = (bool)tv_dict_get_number(tv->vval.v_dict, "empty");
|
||||||
if (tv_dict_get_string(tv->vval.v_dict, (char_u *)"equal", false) != NULL) {
|
if (tv_dict_get_string(tv->vval.v_dict, "equal", false) != NULL) {
|
||||||
aequal = tv_dict_get_number(tv->vval.v_dict, (char_u *)"equal");
|
aequal = tv_dict_get_number(tv->vval.v_dict, "equal");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
word = (const char *)tv_get_string_chk(tv);
|
word = (const char *)tv_get_string_chk(tv);
|
||||||
|
Loading…
Reference in New Issue
Block a user