build: fix warning

This commit is contained in:
Justin M. Keyes 2019-04-07 01:41:41 +02:00
parent 8376d2c4b1
commit cf072cf223

View File

@ -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);