diff --git a/src/version.c b/src/version.c index 464154f33f..390c1f92f0 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 */ +/**/ + 2333, /**/ 2332, /**/ diff --git a/src/vim9execute.c b/src/vim9execute.c index be06d89ac5..7c4ef2a92c 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -754,7 +754,7 @@ call_partial(typval_T *tv, int argcount_arg, ectx_T *ectx) int argcount = argcount_arg; char_u *name = NULL; int called_emsg_before = called_emsg; - int res; + int res = FAIL; if (tv->v_type == VAR_PARTIAL) { @@ -800,7 +800,7 @@ call_partial(typval_T *tv, int argcount_arg, ectx_T *ectx) vim_free(tofree); } - if (name == NULL || res == FAIL) + if (res == FAIL) { if (called_emsg == called_emsg_before) semsg(_(e_unknownfunc),