0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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_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)
{