forked from aniani/vim
patch 9.0.1116: compiler may complain about an unused function
Problem: Compiler may complain about an unused function. Solution: Add #ifdef. (John Marriott)
This commit is contained in:
@@ -1678,6 +1678,7 @@ static char *(key_names[]) =
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_TGETENT) || defined(FEAT_TERMGUICOLORS)
|
||||||
/*
|
/*
|
||||||
* Return TRUE if "term_strings[idx]" was not set.
|
* Return TRUE if "term_strings[idx]" was not set.
|
||||||
*/
|
*/
|
||||||
@@ -1686,6 +1687,7 @@ term_strings_not_set(enum SpecialKey idx)
|
|||||||
{
|
{
|
||||||
return TERM_STR(idx) == NULL || TERM_STR(idx) == empty_option;
|
return TERM_STR(idx) == NULL || TERM_STR(idx) == empty_option;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_TGETENT
|
#ifdef HAVE_TGETENT
|
||||||
/*
|
/*
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
1116,
|
||||||
/**/
|
/**/
|
||||||
1115,
|
1115,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user