From: Bram Moolenaar Date: Sat, 20 Feb 2021 19:26:16 +0000 (+0100) Subject: patch 8.2.2536: Coverity complains about unchecked return value X-Git-Tag: v8.2.2536 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc167465f87a4f03f9e085597dfcfdde39fcd2b9;p=vim patch 8.2.2536: Coverity complains about unchecked return value Problem: Coverity complains about unchecked return value. Solution: Add (void). --- diff --git a/src/userfunc.c b/src/userfunc.c index 64a8fa606..450582c4f 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -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) { diff --git a/src/version.c b/src/version.c index 66f3fc6ae..3f5ae9d8c 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2536, /**/ 2535, /**/