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
diff --git a/src/version.c b/src/version.c
index 447cf27..a53f44b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 506,
+/**/
505,
/**/
504,