# HG changeset patch # User Bram Moolenaar # Date 1585930503 -7200 # Node ID ff89394116eadcb2d4ebbd319d10ff03102fb8aa # Parent eea0515a4e8a4f02309daf9653c5350d4dcec331 patch 8.2.0506: Coverity complains about ignoring return value Commit: https://github.com/vim/vim/commit/d1e9dc272355fe3ab112af5f04b0516b2e9a4fa6 Author: Bram Moolenaar 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). diff --git a/src/userfunc.c b/src/userfunc.c --- 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 --- 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,