Patch 8.2.2814

6 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 26, 2021, 3:40:48 PM4/26/21
to vim...@googlegroups.com

Patch 8.2.2814 (after 8.2.2812)
Problem: Vim9: unused variable. (John Marriott)
Solution: Adjust #ifdef.
Files: src/vim9execute.c


*** ../vim-8.2.2813/src/vim9execute.c 2021-04-26 20:32:54.918399234 +0200
--- src/vim9execute.c 2021-04-26 21:33:24.168672436 +0200
***************
*** 543,553 ****
estack_T *entry;
int prev_dfunc_idx = STACK_TV(ectx->ec_frame_idx
+ STACK_FRAME_FUNC_OFF)->vval.v_number;
dfunc_T *prev_dfunc = ((dfunc_T *)def_functions.ga_data)
+ prev_dfunc_idx;
- funclocal_T *floc;

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

if (do_profiling == PROF_YES)
{
ufunc_T *caller = prev_dfunc->df_ufunc;
*** ../vim-8.2.2813/src/version.c 2021-04-26 21:14:12.713924760 +0200
--- src/version.c 2021-04-26 21:34:26.984552038 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2814,
/**/

--
hundred-and-one symptoms of being an internet addict:
176. You lie, even to user-friends, about how long you were online yesterday.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages