John Marriott wrote:
> On 23-Dec-2022 00:44, Bram Moolenaar wrote:
> > Patch 9.0.1086
> > Problem: Display wrong in Windows terminal after exiting Vim.
> > Solution: Apply screen restore fix for Windows 11 also to Windows 10 bu=
> ilds.
> > (Christopher Plewright, closes #11713, closes #11706)
> > Files: src/os_win32.c
> >
> >
> After this patch msys2 (clang 15.0.5 x64) gives this warning:
> <snip>
> clang -c -I. -Iproto -DWIN32 -DWINVER=3D0x0603 -D_WIN32_WINNT=3D0x0603=20
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO=20
> -pipe -Wall -O3 -fomit-frame-pointer -fpie -fPIE -DFEAT_GUI_MSWIN=20
> -DFEAT_CLIPBOARD os_win32.c -o gobjx86-64/os_win32.o
> os_win32.c:260:13: warning: unused variable=20
> 'use_alternate_screen_buffer' [-Wunused-variable]
> static BOOL use_alternate_screen_buffer =3D FALSE;
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
> 1 warning generated.
> </snip>
>
> The attached patch tries to fix it.
Thanks!
--
ARTHUR: A scratch? Your arm's off!
BLACK KNIGHT: No, it isn't.
ARTHUR: Well, what's that then?
BLACK KNIGHT: I've had worse.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///