mirror of
https://github.com/vim/vim.git
synced 2025-10-16 07:24:23 -04:00
patch 8.2.3541: compiler warning for unused variable in tiny version
Problem: Compiler warning for unused variable in tiny version. Solution: Add #ifdef. (John Marriott)
This commit is contained in:
@@ -1108,7 +1108,9 @@ highlight_set_guifg(
|
|||||||
int *do_colors UNUSED,
|
int *do_colors UNUSED,
|
||||||
int init)
|
int init)
|
||||||
{
|
{
|
||||||
|
# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
|
||||||
long i;
|
long i;
|
||||||
|
# endif
|
||||||
char_u **namep;
|
char_u **namep;
|
||||||
int did_change = FALSE;
|
int did_change = FALSE;
|
||||||
|
|
||||||
@@ -1175,7 +1177,9 @@ highlight_set_guibg(
|
|||||||
int *do_colors UNUSED,
|
int *do_colors UNUSED,
|
||||||
int init)
|
int init)
|
||||||
{
|
{
|
||||||
|
# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
|
||||||
int i;
|
int i;
|
||||||
|
# endif
|
||||||
char_u **namep;
|
char_u **namep;
|
||||||
int did_change = FALSE;
|
int did_change = FALSE;
|
||||||
|
|
||||||
|
@@ -757,6 +757,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 */
|
||||||
|
/**/
|
||||||
|
3541,
|
||||||
/**/
|
/**/
|
||||||
3540,
|
3540,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user