Skip to content

Commit 2f09502

Browse files
committed
updated for version 7.3.1291
Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck) Solution: Initialize the variables.
1 parent 949100d commit 2f09502

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/screen.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,13 @@ redraw_asap(type)
279279
int rows;
280280
int r;
281281
int ret = 0;
282-
schar_T *screenline; /* copy from ScreenLines[] */
283-
sattr_T *screenattr; /* copy from ScreenAttrs[] */
282+
schar_T *screenline; /* copy from ScreenLines[] */
283+
sattr_T *screenattr; /* copy from ScreenAttrs[] */
284284
#ifdef FEAT_MBYTE
285285
int i;
286-
u8char_T *screenlineUC; /* copy from ScreenLinesUC[] */
286+
u8char_T *screenlineUC = NULL; /* copy from ScreenLinesUC[] */
287287
u8char_T *screenlineC[MAX_MCO]; /* copy from ScreenLinesC[][] */
288-
schar_T *screenline2; /* copy from ScreenLines2[] */
288+
schar_T *screenline2 = NULL; /* copy from ScreenLines2[] */
289289
#endif
290290

291291
redraw_later(type);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ static char *(features[]) =
728728

729729
static int included_patches[] =
730730
{ /* Add new patch number below this line */
731+
/**/
732+
1291,
731733
/**/
732734
1290,
733735
/**/

0 commit comments

Comments
 (0)