0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0506: Coverity complains about ignoring return value

Problem:    Coverity complains about ignoring return value.
Solution:   Add (void).
This commit is contained in:
Bram Moolenaar
2020-04-03 18:13:57 +02:00
parent 01603a9970
commit d1e9dc2723
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
506,
/**/
505,
/**/