From: Bram Moolenaar Date: Sun, 10 Jan 2021 22:58:28 +0000 (+0100) Subject: patch 8.2.2327: debugging code included X-Git-Tag: v8.2.2327 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16a6f91ccb42ebde639a4185322b07719d345e86;p=vim patch 8.2.2327: debugging code included Problem: Debugging code included. Solution: Remove the debugging code. --- diff --git a/src/version.c b/src/version.c index 63549a2eb..e64265fb2 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 */ +/**/ + 2327, /**/ 2326, /**/ diff --git a/src/vim9execute.c b/src/vim9execute.c index 957988e65..378b10443 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -247,8 +247,6 @@ call_dfunc(int cdf_idx, partial_T *pt, int argcount_arg, ectx_T *ectx) // Store current execution state in stack frame for ISN_RETURN. STACK_TV_BOT(STACK_FRAME_FUNC_OFF)->vval.v_number = ectx->ec_dfunc_idx; STACK_TV_BOT(STACK_FRAME_IIDX_OFF)->vval.v_number = ectx->ec_iidx; - if (ectx->ec_outer != NULL) - printf("here"); STACK_TV_BOT(STACK_FRAME_OUTER_OFF)->vval.v_string = (void *)ectx->ec_outer; STACK_TV_BOT(STACK_FRAME_IDX_OFF)->vval.v_number = ectx->ec_frame_idx; ectx->ec_frame_idx = ectx->ec_stack.ga_len; @@ -530,8 +528,6 @@ func_return(ectx_T *ectx) if (ret_idx == ectx->ec_frame_idx + STACK_FRAME_IDX_OFF) ret_idx = 0; - if (ectx->ec_outer != NULL) - printf("here"); vim_free(ectx->ec_outer); // Restore the previous frame. @@ -544,8 +540,6 @@ func_return(ectx_T *ectx) // restoring ec_frame_idx must be last ectx->ec_frame_idx = STACK_TV(ectx->ec_frame_idx + STACK_FRAME_IDX_OFF)->vval.v_number; - if (ectx->ec_outer != NULL) - printf("here"); dfunc = ((dfunc_T *)def_functions.ga_data) + ectx->ec_dfunc_idx; ectx->ec_instr = dfunc->df_instr;