mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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 c;
|
||||
int saved_did_emsg;
|
||||
int saved_did_emsg = FALSE;
|
||||
char_u *name = name_arg;
|
||||
int is_global = FALSE;
|
||||
char_u *p;
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4266,
|
||||
/**/
|
||||
4265,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user