summaryrefslogtreecommitdiff
path: root/src/vim9expr.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-02-18 19:49:32 +0000
committerBram Moolenaar <Bram@vim.org>2023-02-18 19:49:32 +0000
commit3e1ac1443af0bce41351b9d917651ac4fe41928d (patch)
treee80b27ac5521f0de45c885dfb76cc0a4955677d3 /src/vim9expr.c
parent2c1c803c7e0cc356dd55a2cd49fbffbbf7db766e (diff)
downloadvim-git-3e1ac1443af0bce41351b9d917651ac4fe41928d.tar.gz
patch 9.0.1323: build failure with +eval featurev9.0.1323
Problem: Build failure with +eval feature. Solution: Add missing part for using funcerror_T.
Diffstat (limited to 'src/vim9expr.c')
-rw-r--r--src/vim9expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9expr.c b/src/vim9expr.c
index 88d9ec18d..2fa8b57de 100644
--- 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()