changeset 19900:ff89394116ea v8.2.0506

patch 8.2.0506: Coverity complains about ignoring return value Commit: https://github.com/vim/vim/commit/d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 3 18:13:57 2020 +0200 patch 8.2.0506: Coverity complains about ignoring return value Problem: Coverity complains about ignoring return value. Solution: Add (void).
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Apr 2020 18:15:03 +0200
parents eea0515a4e8a
children e3cdf97099bb
files src/userfunc.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,