]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0838: MS-Windows: compiler warning for uninitialized variables v8.2.0838
authorBram Moolenaar <Bram@vim.org>
Fri, 29 May 2020 19:42:55 +0000 (21:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 29 May 2020 19:42:55 +0000 (21:42 +0200)
Problem:    MS-Windows: compiler warning for uninitialized variables.
Solution:   Initialize variables.

src/screen.c
src/version.c

index e218196fd7492e96b2f394cb3cfccb0fe71fe186..6893ca36faf16b112108a361ed8c700df05bd231 100644 (file)
@@ -1882,7 +1882,7 @@ screen_stop_highlight(void)
 {
     int            do_ME = FALSE;          // output T_ME code
 #if defined(FEAT_VTP) && defined(FEAT_TERMGUICOLORS)
-    int            do_ME_fg, do_ME_bg;
+    int            do_ME_fg = FALSE, do_ME_bg = FALSE;
 #endif
 
     if (screen_attr != 0
index a963bdc86847edd2c75697fd705b7754f23aa2af..f0383244a3739dbf29e4c302e55d3f4e9e15be55 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    838,
 /**/
     837,
 /**/