1
0
forked from aniani/vim

patch 9.0.0256: compiler warning for uninitialized variables

Problem:    Compiler warning for uninitialized variables.
Solution:   Initilize the variables.
This commit is contained in:
Bram Moolenaar
2022-08-24 17:32:35 +01:00
parent 0af2ecfe44
commit 5214b29461
2 changed files with 4 additions and 2 deletions

View File

@@ -1358,14 +1358,14 @@ do_source_ext(
source_cookie_T cookie; source_cookie_T cookie;
char_u *p; char_u *p;
char_u *fname_not_fixed = NULL; char_u *fname_not_fixed = NULL;
char_u *fname_exp; char_u *fname_exp = NULL;
char_u *firstline = NULL; char_u *firstline = NULL;
int retval = FAIL; int retval = FAIL;
sctx_T save_current_sctx; sctx_T save_current_sctx;
#ifdef FEAT_EVAL #ifdef FEAT_EVAL
funccal_entry_T funccalp_entry; funccal_entry_T funccalp_entry;
int save_debug_break_level = debug_break_level; int save_debug_break_level = debug_break_level;
int sid; int sid = -1;
scriptitem_T *si = NULL; scriptitem_T *si = NULL;
int save_estack_compiling = estack_compiling; int save_estack_compiling = estack_compiling;
ESTACK_CHECK_DECLARATION ESTACK_CHECK_DECLARATION

View File

@@ -731,6 +731,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
256,
/**/ /**/
255, 255,
/**/ /**/