1
0
forked from aniani/vim

updated for version 7.3.1291

Problem:    Compiler warnings for uninitialized variables. (Tony Mechelynck)
Solution:   Initialize the variables.
This commit is contained in:
Bram Moolenaar
2013-07-03 13:29:58 +02:00
parent 79f7e1475a
commit e1fc4e2f0f
2 changed files with 6 additions and 4 deletions

View File

@@ -279,13 +279,13 @@ redraw_asap(type)
int rows;
int r;
int ret = 0;
schar_T *screenline; /* copy from ScreenLines[] */
sattr_T *screenattr; /* copy from ScreenAttrs[] */
schar_T *screenline; /* copy from ScreenLines[] */
sattr_T *screenattr; /* copy from ScreenAttrs[] */
#ifdef FEAT_MBYTE
int i;
u8char_T *screenlineUC; /* copy from ScreenLinesUC[] */
u8char_T *screenlineUC = NULL; /* copy from ScreenLinesUC[] */
u8char_T *screenlineC[MAX_MCO]; /* copy from ScreenLinesC[][] */
schar_T *screenline2; /* copy from ScreenLines2[] */
schar_T *screenline2 = NULL; /* copy from ScreenLines2[] */
#endif
redraw_later(type);

View File

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