forked from aniani/vim
patch 9.0.1088: clang warns for unused variable
Problem: Clang warns for unused variable. Solution: Adjust #ifdef. (John Marriott)
This commit is contained in:
parent
ff3d537704
commit
9fca133eb7
@ -257,7 +257,9 @@ static char_u *exe_path = NULL;
|
|||||||
|
|
||||||
static BOOL win8_or_later = FALSE;
|
static BOOL win8_or_later = FALSE;
|
||||||
static BOOL win10_22H2_or_later = FALSE;
|
static BOOL win10_22H2_or_later = FALSE;
|
||||||
|
#if !defined(FEAT_GUI_MSWIN) || defined(VIMDLL)
|
||||||
static BOOL use_alternate_screen_buffer = FALSE;
|
static BOOL use_alternate_screen_buffer = FALSE;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get version number including build number
|
* Get version number including build number
|
||||||
@ -8395,7 +8397,7 @@ vtp_init(void)
|
|||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
use_alternate_screen_buffer = win10_22H2_or_later && p_rs && vtp_working
|
use_alternate_screen_buffer = win10_22H2_or_later && p_rs && vtp_working
|
||||||
&& !mch_getenv("VIM_TERMINAL");
|
&& !mch_getenv("VIM_TERMINAL");
|
||||||
set_console_color_rgb();
|
set_console_color_rgb();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1088,
|
||||||
/**/
|
/**/
|
||||||
1087,
|
1087,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user