Patch 8.2.0838

5 views
Skip to first unread message

Bram Moolenaar

unread,
May 29, 2020, 3:43:28 PM5/29/20
to vim...@googlegroups.com

Patch 8.2.0838
Problem: MS-Windows: compiler warning for uninitialized variables.
Solution: Initialize variables.
Files: src/screen.c


*** ../vim-8.2.0837/src/screen.c 2020-05-02 18:33:20.675870825 +0200
--- src/screen.c 2020-05-19 21:32:33.081082782 +0200
***************
*** 1882,1888 ****
{
int do_ME = FALSE; // output T_ME code
#if defined(FEAT_VTP) && defined(FEAT_TERMGUICOLORS)
! int do_ME_fg, do_ME_bg;
#endif

if (screen_attr != 0
--- 1882,1888 ----
{
int do_ME = FALSE; // output T_ME code
#if defined(FEAT_VTP) && defined(FEAT_TERMGUICOLORS)
! int do_ME_fg = FALSE, do_ME_bg = FALSE;
#endif

if (screen_attr != 0
*** ../vim-8.2.0837/src/version.c 2020-05-29 21:38:38.273167372 +0200
--- src/version.c 2020-05-29 21:42:19.252148804 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 838,
/**/

--
hundred-and-one symptoms of being an internet addict:
204. You're being audited because you mailed your tax return to the IRC.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages