commit | d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 03 18:13:57 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 03 18:13:57 2020 +0200 |
tree | 53bc930ab3735c42d1f967513f075a8f9611f226 | |
parent | 01603a9970421272621f7c1ecdc560b522c92e61 [diff] [blame] |
patch 8.2.0506: Coverity complains about ignoring return value Problem: Coverity complains about ignoring return value. Solution: Add (void).
diff --git a/src/userfunc.c b/src/userfunc.c index 12d582a..71591eb 100644 --- a/src/userfunc.c +++ b/src/userfunc.c
@@ -1321,7 +1321,7 @@ // 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