diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-20 20:26:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-20 20:26:16 +0100 |
commit | dc167465f87a4f03f9e085597dfcfdde39fcd2b9 (patch) | |
tree | ad12a3cbc83a0f17aa26745ede2be906586e8cdc | |
parent | 723ef5db980b2e69ef8bdc0dd448cb645491c464 (diff) |
patch 8.2.2536: Coverity complains about unchecked return valuev8.2.2536
Problem: Coverity complains about unchecked return value.
Solution: Add (void).
-rw-r--r-- | src/userfunc.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index 64a8fa6063..450582c4f8 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 66f3fc6ae1..3f5ae9d8cc 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2536, +/**/ 2535, /**/ 2534, |