From: Bram Moolenaar Date: Fri, 3 Apr 2020 16:13:57 +0000 (+0200) Subject: patch 8.2.0506: Coverity complains about ignoring return value X-Git-Tag: v8.2.0506 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6;p=thirdparty%2Fvim.git 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 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 @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 506, /**/ 505, /**/