To: vim_dev@googlegroups.com Subject: Patch 9.0.0256 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///