diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-03 18:13:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-03 18:13:57 +0200 |
commit | d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6 (patch) | |
tree | 53bc930ab3735c42d1f967513f075a8f9611f226 /src | |
parent | 01603a9970421272621f7c1ecdc560b522c92e61 (diff) | |
download | vim-git-d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6.tar.gz |
patch 8.2.0506: Coverity complains about ignoring return valuev8.2.0506
Problem: Coverity complains about ignoring return value.
Solution: Add (void).
Diffstat (limited to 'src')
-rw-r--r-- | src/userfunc.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index 12d582a25..71591eb5e 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -1321,7 +1321,7 @@ call_user_func( // 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 diff --git a/src/version.c b/src/version.c index 447cf2718..a53f44b04 100644 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 506, +/**/ 505, /**/ 504, |