Skip to content

Commit d1e9dc2

Browse files
committed
patch 8.2.0506: Coverity complains about ignoring return value
Problem: Coverity complains about ignoring return value. Solution: Add (void).
1 parent 01603a9 commit d1e9dc2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/userfunc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ call_user_func(
13211321
// A Lambda always has the command "return {expr}". It is much faster
13221322
// to evaluate {expr} directly.
13231323
++ex_nesting_level;
1324-
eval1(&p, rettv, TRUE);
1324+
(void)eval1(&p, rettv, TRUE);
13251325
--ex_nesting_level;
13261326
}
13271327
else

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
506,
741743
/**/
742744
505,
743745
/**/

0 commit comments

Comments
 (0)