1
0
forked from aniani/vim

patch 8.2.2814: Vim9: unused variable

Problem:    Vim9: unused variable. (John Marriott)
Solution:   Adjust #ifdef.
This commit is contained in:
Bram Moolenaar 2021-04-26 21:39:25 +02:00
parent bb01a1ef3a
commit b06b50dfa0
2 changed files with 4 additions and 2 deletions

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2814,
/**/ /**/
2813, 2813,
/**/ /**/

View File

@ -543,11 +543,11 @@ func_return(ectx_T *ectx)
estack_T *entry; estack_T *entry;
int prev_dfunc_idx = STACK_TV(ectx->ec_frame_idx int prev_dfunc_idx = STACK_TV(ectx->ec_frame_idx
+ STACK_FRAME_FUNC_OFF)->vval.v_number; + STACK_FRAME_FUNC_OFF)->vval.v_number;
funclocal_T *floc;
#ifdef FEAT_PROFILE
dfunc_T *prev_dfunc = ((dfunc_T *)def_functions.ga_data) dfunc_T *prev_dfunc = ((dfunc_T *)def_functions.ga_data)
+ prev_dfunc_idx; + prev_dfunc_idx;
funclocal_T *floc;
#ifdef FEAT_PROFILE
if (do_profiling == PROF_YES) if (do_profiling == PROF_YES)
{ {
ufunc_T *caller = prev_dfunc->df_ufunc; ufunc_T *caller = prev_dfunc->df_ufunc;