1
0
forked from aniani/vim

patch 9.0.0371: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize the variable. (John Marriott)
This commit is contained in:
Bram Moolenaar 2022-09-03 21:53:28 +01:00
parent 1d84f7608f
commit 06fef1b2bd
2 changed files with 3 additions and 1 deletions

View File

@ -694,7 +694,7 @@ deref_function_name(
{
typval_T ref;
char_u *name = *arg;
int save_flags;
int save_flags = 0;
ref.v_type = VAR_UNKNOWN;
if (evalarg != NULL)

View File

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