mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
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:
@@ -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
|
// A Lambda always has the command "return {expr}". It is much faster
|
||||||
// to evaluate {expr} directly.
|
// to evaluate {expr} directly.
|
||||||
ex_nesting_level++;
|
ex_nesting_level++;
|
||||||
eval1(&p, rettv, true);
|
(void)eval1(&p, rettv, true);
|
||||||
ex_nesting_level--;
|
ex_nesting_level--;
|
||||||
} else {
|
} else {
|
||||||
// call do_cmdline() to execute the lines
|
// call do_cmdline() to execute the lines
|
||||||
|
Reference in New Issue
Block a user