patch 9.1.1334: Coverity complains about unchecked return value

Problem:  Coverity complains about unchecked return value
Solution: cast return value to (void)

Fixes: Coverity issue 1646574
related: #17189

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-04-22 20:04:28 +02:00
parent 7dfc9e6121
commit d847b241f5
2 changed files with 3 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ ex_loadview(exarg_T *eap)
if (fname == NULL)
return;
do_source(fname, FALSE, DOSO_NONE, NULL);
(void)do_source(fname, FALSE, DOSO_NONE, NULL);
vim_free(fname);
}

View File

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