Patch 9.0.0256 (after 9.0.0253)
Problem:    Compiler warning for uninitialized variables.
Solution:   Initialize the variables.
Files:      src/scriptfile.c


*** ../vim-9.0.0255/src/scriptfile.c    2022-08-24 17:05:50.265953140 +0100
--- src/scriptfile.c    2022-08-24 17:31:02.781864721 +0100
***************
*** 1358,1371 ****
      source_cookie_T       cookie;
      char_u                *p;
      char_u                *fname_not_fixed = NULL;
!     char_u                *fname_exp;
      char_u                *firstline = NULL;
      int                           retval = FAIL;
      sctx_T                save_current_sctx;
  #ifdef FEAT_EVAL
      funccal_entry_T       funccalp_entry;
      int                           save_debug_break_level = debug_break_level;
!     int                           sid;
      scriptitem_T          *si = NULL;
      int                           save_estack_compiling = estack_compiling;
      ESTACK_CHECK_DECLARATION
--- 1358,1371 ----
      source_cookie_T       cookie;
      char_u                *p;
      char_u                *fname_not_fixed = NULL;
!     char_u                *fname_exp = NULL;
      char_u                *firstline = NULL;
      int                           retval = FAIL;
      sctx_T                save_current_sctx;
  #ifdef FEAT_EVAL
      funccal_entry_T       funccalp_entry;
      int                           save_debug_break_level = debug_break_level;
!     int                           sid = -1;
      scriptitem_T          *si = NULL;
      int                           save_estack_compiling = estack_compiling;
      ESTACK_CHECK_DECLARATION
*** ../vim-9.0.0255/src/version.c       2022-08-24 17:05:50.265953140 +0100
--- src/version.c       2022-08-24 17:32:04.045729982 +0100
***************
*** 733,734 ****
--- 733,736 ----
  {   /* Add new patch number below this line */
+ /**/
+     256,
  /**/

-- 
I bought a book on hair loss, but the pages kept falling out.

 /// 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/20220824163413.A9CD11C0D30%40moolenaar.net.

Raspunde prin e-mail lui