mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
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:
@ -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);
|
||||
}
|
||||
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1334,
|
||||
/**/
|
||||
1333,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user