patch 9.0.1993: warning about unused function definition

Problem:  warning about unused function definition
Solution: add ifdefs

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2023-10-05 22:17:09 +02:00
parent 20d161ace3
commit 9960ebcace
2 changed files with 4 additions and 0 deletions

View File

@ -849,6 +849,7 @@ expand_set_opt_generic(
return ret; return ret;
} }
# if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK)
static garray_T *expand_cb_ga; static garray_T *expand_cb_ga;
static optexpand_T *expand_cb_args; static optexpand_T *expand_cb_args;
@ -938,6 +939,7 @@ expand_set_opt_callback(
*numMatches = ga.ga_len; *numMatches = ga.ga_len;
return OK; return OK;
} }
#endif
/* /*
* Expand an option which is a list of flags. * Expand an option which is a list of flags.

View File

@ -704,6 +704,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 */
/**/
1993,
/**/ /**/
1992, 1992,
/**/ /**/