From 17e21eae24ff001eae0a74e252acab5992adb5dc Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 15 Apr 2018 20:05:17 +0300 Subject: eval: Silence PVS/V547: PVS cannot stand `!known_val` expressions --- src/nvim/eval.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 036caf6e6a..e38f7e7dda 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -2682,7 +2682,7 @@ void ex_call(exarg_T *eap) 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) { // Still need to give an error message for missing key. EMSG2(_(e_dictkey), fudi.fd_newkey); @@ -2725,13 +2725,13 @@ void ex_call(exarg_T *eap) arg = startarg; if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg, eap->line1, eap->line2, &doesrange, - !eap->skip, partial, fudi.fd_dict) == FAIL) { + true, partial, fudi.fd_dict) == FAIL) { failed = true; break; } // 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) { failed = true; break; -- cgit