forked from aniani/vim
patch 8.2.4266: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. Solution: Initialize saved_did_emsg.
This commit is contained in:
@@ -4104,7 +4104,7 @@ define_function(exarg_T *eap, char_u *name_arg, garray_T *lines_to_free)
|
|||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
int c;
|
int c;
|
||||||
int saved_did_emsg;
|
int saved_did_emsg = FALSE;
|
||||||
char_u *name = name_arg;
|
char_u *name = name_arg;
|
||||||
int is_global = FALSE;
|
int is_global = FALSE;
|
||||||
char_u *p;
|
char_u *p;
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
4266,
|
||||||
/**/
|
/**/
|
||||||
4265,
|
4265,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user