Mercurial > vim
comparison src/screen.c @ 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 | 9620ab71f4f3 |
children | 4411c2b96af9 |
comparison
equal
deleted
inserted
replaced
20568:7ac8b2b4e1b4 | 20569:b6a0237e8478 |
---|---|
1880 void | 1880 void |
1881 screen_stop_highlight(void) | 1881 screen_stop_highlight(void) |
1882 { | 1882 { |
1883 int do_ME = FALSE; // output T_ME code | 1883 int do_ME = FALSE; // output T_ME code |
1884 #if defined(FEAT_VTP) && defined(FEAT_TERMGUICOLORS) | 1884 #if defined(FEAT_VTP) && defined(FEAT_TERMGUICOLORS) |
1885 int do_ME_fg, do_ME_bg; | 1885 int do_ME_fg = FALSE, do_ME_bg = FALSE; |
1886 #endif | 1886 #endif |
1887 | 1887 |
1888 if (screen_attr != 0 | 1888 if (screen_attr != 0 |
1889 #ifdef MSWIN | 1889 #ifdef MSWIN |
1890 && termcap_active | 1890 && termcap_active |