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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user