forked from aniani/vim
patch 9.0.0161: warning for uninitialized variable
Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize line_attr_save.
This commit is contained in:
@@ -588,7 +588,7 @@ win_line(
|
||||
|| defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
|
||||
# define LINE_ATTR
|
||||
int line_attr = 0; // attribute for the whole line
|
||||
int line_attr_save;
|
||||
int line_attr_save = 0;
|
||||
#endif
|
||||
#ifdef FEAT_SIGNS
|
||||
int sign_present = FALSE;
|
||||
|
@@ -735,6 +735,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
161,
|
||||
/**/
|
||||
160,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user