summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-03 18:13:57 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-03 18:13:57 +0200
commitd1e9dc272355fe3ab112af5f04b0516b2e9a4fa6 (patch)
tree53bc930ab3735c42d1f967513f075a8f9611f226 /src
parent01603a9970421272621f7c1ecdc560b522c92e61 (diff)
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.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index 12d582a250..71591eb5e9 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 447cf2718c..a53f44b04a 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,