Skip to content

Commit

Permalink
patch 8.2.0506: Coverity complains about ignoring return value
Browse files Browse the repository at this point in the history
Problem:    Coverity complains about ignoring return value.
Solution:   Add (void).
  • Loading branch information
brammool committed Apr 3, 2020
1 parent 01603a9 commit d1e9dc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/userfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
506,
/**/
505,
/**/
Expand Down

0 comments on commit d1e9dc2

Please sign in to comment.