vim-patch:8.2.0506: Coverity complains about ignoring return value

Problem:    Coverity complains about ignoring return value.
Solution:   Add (void).
d1e9dc2723
This commit is contained in:
Jan Edmund Lazo 2020-10-25 02:27:27 -04:00
parent 63d4a6537d
commit 41184660be
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -1052,7 +1052,7 @@ void call_user_func(ufunc_T *fp, int argcount, typval_T *argvars,
// A Lambda always has the command "return {expr}". It is much faster
// to evaluate {expr} directly.
ex_nesting_level++;
eval1(&p, rettv, true);
(void)eval1(&p, rettv, true);
ex_nesting_level--;
} else {
// call do_cmdline() to execute the lines