changeset 20569:b6a0237e8478 v8.2.0838

patch 8.2.0838: MS-Windows: compiler warning for uninitialized variables Commit: https://github.com/vim/vim/commit/09307e3bc1423d5e8a05464b94717a948d6c059a Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 29 21:42:55 2020 +0200 patch 8.2.0838: MS-Windows: compiler warning for uninitialized variables Problem: MS-Windows: compiler warning for uninitialized variables. Solution: Initialize variables.
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 May 2020 21:45:04 +0200
parents 7ac8b2b4e1b4
children c08ee6345092
files src/screen.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    838,
+/**/
     837,
 /**/
     836,