Patch 8.2.4995 (after 8.2.4992)
Problem: Still a compiler warning for possibly uninitialized variable.
(Tony Mechelynck)
Solution: Initialize variables.
Files: src/vim9execute.c
*** ../vim-8.2.4994/src/vim9execute.c 2022-05-21 18:56:54.767003704 +0100
--- src/vim9execute.c 2022-05-21 21:53:23.656875780 +0100
***************
*** 6279,6286 ****
char_u *arg = eap->arg;
ufunc_T *ufunc;
dfunc_T *dfunc;
! isn_T *instr;
! int instr_count;
compiletype_T compile_type = CT_NONE;
ufunc = find_func_by_name(arg, &compile_type);
--- 6279,6286 ----
char_u *arg = eap->arg;
ufunc_T *ufunc;
dfunc_T *dfunc;
! isn_T *instr = NULL; // init to shut up gcc warning
! int instr_count = 0; // init to shut up gcc warning
compiletype_T compile_type = CT_NONE;
ufunc = find_func_by_name(arg, &compile_type);
*** ../vim-8.2.4994/src/version.c 2022-05-21 21:30:46.332653648 +0100
--- src/version.c 2022-05-21 21:55:19.776671147 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 4995,
/**/
--
Vi is clearly superior to emacs, since "vi" has only two characters
(and two keystrokes), while "emacs" has five. (Randy C. Ford)
/// 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 ///