Skip to content

Commit 16a6f91

Browse files
committed
patch 8.2.2327: debugging code included
Problem: Debugging code included. Solution: Remove the debugging code.
1 parent 086ae06 commit 16a6f91

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2327,
753755
/**/
754756
2326,
755757
/**/

src/vim9execute.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ call_dfunc(int cdf_idx, partial_T *pt, int argcount_arg, ectx_T *ectx)
247247
// Store current execution state in stack frame for ISN_RETURN.
248248
STACK_TV_BOT(STACK_FRAME_FUNC_OFF)->vval.v_number = ectx->ec_dfunc_idx;
249249
STACK_TV_BOT(STACK_FRAME_IIDX_OFF)->vval.v_number = ectx->ec_iidx;
250-
if (ectx->ec_outer != NULL)
251-
printf("here");
252250
STACK_TV_BOT(STACK_FRAME_OUTER_OFF)->vval.v_string = (void *)ectx->ec_outer;
253251
STACK_TV_BOT(STACK_FRAME_IDX_OFF)->vval.v_number = ectx->ec_frame_idx;
254252
ectx->ec_frame_idx = ectx->ec_stack.ga_len;
@@ -530,8 +528,6 @@ func_return(ectx_T *ectx)
530528
if (ret_idx == ectx->ec_frame_idx + STACK_FRAME_IDX_OFF)
531529
ret_idx = 0;
532530

533-
if (ectx->ec_outer != NULL)
534-
printf("here");
535531
vim_free(ectx->ec_outer);
536532

537533
// Restore the previous frame.
@@ -544,8 +540,6 @@ func_return(ectx_T *ectx)
544540
// restoring ec_frame_idx must be last
545541
ectx->ec_frame_idx = STACK_TV(ectx->ec_frame_idx
546542
+ STACK_FRAME_IDX_OFF)->vval.v_number;
547-
if (ectx->ec_outer != NULL)
548-
printf("here");
549543
dfunc = ((dfunc_T *)def_functions.ga_data) + ectx->ec_dfunc_idx;
550544
ectx->ec_instr = dfunc->df_instr;
551545

0 commit comments

Comments
 (0)