mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +00:00
eval: Silence PVS/V547: PVS cannot stand !known_val
expressions
This commit is contained in:
@@ -2682,7 +2682,7 @@ void ex_call(exarg_T *eap)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
tofree = trans_function_name(&arg, eap->skip, TFN_INT, &fudi, &partial);
|
tofree = trans_function_name(&arg, false, TFN_INT, &fudi, &partial);
|
||||||
if (fudi.fd_newkey != NULL) {
|
if (fudi.fd_newkey != NULL) {
|
||||||
// Still need to give an error message for missing key.
|
// Still need to give an error message for missing key.
|
||||||
EMSG2(_(e_dictkey), fudi.fd_newkey);
|
EMSG2(_(e_dictkey), fudi.fd_newkey);
|
||||||
@@ -2725,13 +2725,13 @@ void ex_call(exarg_T *eap)
|
|||||||
arg = startarg;
|
arg = startarg;
|
||||||
if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,
|
if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,
|
||||||
eap->line1, eap->line2, &doesrange,
|
eap->line1, eap->line2, &doesrange,
|
||||||
!eap->skip, partial, fudi.fd_dict) == FAIL) {
|
true, partial, fudi.fd_dict) == FAIL) {
|
||||||
failed = true;
|
failed = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle a function returning a Funcref, Dictionary or List.
|
// Handle a function returning a Funcref, Dictionary or List.
|
||||||
if (handle_subscript((const char **)&arg, &rettv, !eap->skip, true)
|
if (handle_subscript((const char **)&arg, &rettv, true, true)
|
||||||
== FAIL) {
|
== FAIL) {
|
||||||
failed = true;
|
failed = true;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user