diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-25 02:27:27 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-25 02:27:52 -0400 |
commit | 41184660beb15cb7c0db1f613e6f6886533a528e (patch) | |
tree | 0d65726d69adb23c291c51931bf13ae10101ea3e /src | |
parent | 63d4a6537d8bf1a62b769e594171577b8bbcdd8d (diff) | |
download | rneovim-41184660beb15cb7c0db1f613e6f6886533a528e.tar.gz rneovim-41184660beb15cb7c0db1f613e6f6886533a528e.tar.bz2 rneovim-41184660beb15cb7c0db1f613e6f6886533a528e.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/eval/userfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |