0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.2536: Coverity complains about unchecked return value

Problem:    Coverity complains about unchecked return value.
Solution:   Add (void).
This commit is contained in:
Bram Moolenaar
2021-02-20 20:26:16 +01:00
parent 723ef5db98
commit dc167465f8
2 changed files with 3 additions and 1 deletions

View File

@@ -4020,7 +4020,7 @@ ex_defcompile(exarg_T *eap UNUSED)
&& ufunc->uf_def_status == UF_TO_BE_COMPILED && ufunc->uf_def_status == UF_TO_BE_COMPILED
&& (ufunc->uf_flags & FC_DEAD) == 0) && (ufunc->uf_flags & FC_DEAD) == 0)
{ {
compile_def_function(ufunc, FALSE, FALSE, NULL); (void)compile_def_function(ufunc, FALSE, FALSE, NULL);
if (func_hashtab.ht_changed != changed) if (func_hashtab.ht_changed != changed)
{ {

View File

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