diff src/userfunc.c @ 23988:686af23ec132 v8.2.2536

patch 8.2.2536: Coverity complains about unchecked return value Commit: https://github.com/vim/vim/commit/dc167465f87a4f03f9e085597dfcfdde39fcd2b9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 20 20:26:16 2021 +0100 patch 8.2.2536: Coverity complains about unchecked return value Problem: Coverity complains about unchecked return value. Solution: Add (void).
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Feb 2021 20:30:03 +0100
parents 03819ebd3e6d
children c192411b27e8
line wrap: on
line diff
--- 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)
 		{