Skip to content

Commit c728307

Browse files
committed
patch 8.1.1702: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (Christian Brabandt)
1 parent 7ce2aa0 commit c728307

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/gui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2253,7 +2253,7 @@ gui_outstr_nowrap(
22532253
int col = gui.col;
22542254
#ifdef FEAT_SIGN_ICONS
22552255
int draw_sign = FALSE;
2256-
int signcol;
2256+
int signcol = 0;
22572257
char_u extra[18];
22582258
# ifdef FEAT_NETBEANS_INTG
22592259
int multi_sign = FALSE;

src/version.c

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

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1702,
780782
/**/
781783
1701,
782784
/**/

0 commit comments

Comments
 (0)