diff src/vim9expr.c @ 31982:9113d903a2c6 v9.0.1323

patch 9.0.1323: build failure with +eval feature Commit: https://github.com/vim/vim/commit/3e1ac1443af0bce41351b9d917651ac4fe41928d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 18 19:49:32 2023 +0000 patch 9.0.1323: build failure with +eval feature Problem: Build failure with +eval feature. Solution: Add missing part for using funcerror_T.
author Bram Moolenaar <Bram@vim.org>
date Sat, 18 Feb 2023 21:00:03 +0100
parents f1a5e67e9a1b
children ef644af2c330
line wrap: on
line diff
--- a/src/vim9expr.c
+++ b/src/vim9expr.c
@@ -919,7 +919,6 @@ compile_call(
     char_u	namebuf[MAX_FUNC_NAME_LEN];
     char_u	fname_buf[FLEN_FIXED + 1];
     char_u	*tofree = NULL;
-    int		error = FCERR_NONE;
     ufunc_T	*ufunc = NULL;
     int		res = FAIL;
     int		is_autoload;
@@ -990,6 +989,7 @@ compile_call(
     if (generate_ppconst(cctx, ppconst) == FAIL)
 	return FAIL;
 
+    funcerror_T	error;
     name = fname_trans_sid(namebuf, fname_buf, &tofree, &error);
 
     // We handle the "skip" argument of searchpair() and searchpairpos()