changeset 17407:df340014f9e4 v8.1.1702

patch 8.1.1702: compiler warning for uninitialized variable commit https://github.com/vim/vim/commit/c7283078c318277aa4f52ff514e1dc3dc7fa0c80 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 16 20:12:44 2019 +0200 patch 8.1.1702: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (Christian Brabandt)
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Jul 2019 20:15:08 +0200
parents b7c29b692c26
children daac0d4d56d0
files src/gui.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -2253,7 +2253,7 @@ gui_outstr_nowrap(
     int		col = gui.col;
 #ifdef FEAT_SIGN_ICONS
     int		draw_sign = FALSE;
-    int		signcol;
+    int		signcol = 0;
     char_u	extra[18];
 # ifdef FEAT_NETBEANS_INTG
     int		multi_sign = FALSE;
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1702,
+/**/
     1701,
 /**/
     1700,