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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220521205624.1A6F71C0473%40moolenaar.net.

Raspunde prin e-mail lui