From 41184660beb15cb7c0db1f613e6f6886533a528e Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 25 Oct 2020 02:27:27 -0400 Subject: [PATCH] vim-patch:8.2.0506: Coverity complains about ignoring return value Problem: Coverity complains about ignoring return value. Solution: Add (void). https://github.com/vim/vim/commit/d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6 --- src/nvim/eval/userfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/eval/userfunc.c b/src/nvim/eval/userfunc.c index 4bc5f4a9b8..dc94bc698d 100644 --- a/src/nvim/eval/userfunc.c +++ b/src/nvim/eval/userfunc.c @@ -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