Skip to content

Commit 9960ebc

Browse files
committed
patch 9.0.1993: warning about unused function definition
Problem: warning about unused function definition Solution: add ifdefs Signed-off-by: Christian Brabandt <[email protected]>
1 parent 20d161a commit 9960ebc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/optionstr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@ expand_set_opt_generic(
849849
return ret;
850850
}
851851

852+
# if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK)
852853
static garray_T *expand_cb_ga;
853854
static optexpand_T *expand_cb_args;
854855

@@ -938,6 +939,7 @@ expand_set_opt_callback(
938939
*numMatches = ga.ga_len;
939940
return OK;
940941
}
942+
#endif
941943

942944
/*
943945
* Expand an option which is a list of flags.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1993,
707709
/**/
708710
1992,
709711
/**/

0 commit comments

Comments
 (0)