summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-10-05 22:17:09 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-05 22:17:09 +0200
commit9960ebcacee5f430d61735991a0563858168ef2c (patch)
treee3d8afbb394b56ce20baed8dacd60f091b4a8820
parent20d161ace307e28690229b68584f2d84556f8960 (diff)
patch 9.0.1993: warning about unused function definitionv9.0.1993
Problem: warning about unused function definition Solution: add ifdefs Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--src/optionstr.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index 6b40dcd706..202e93e57d 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -849,6 +849,7 @@ expand_set_opt_generic(
return ret;
}
+# if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK)
static garray_T *expand_cb_ga;
static optexpand_T *expand_cb_args;
@@ -938,6 +939,7 @@ expand_set_opt_callback(
*numMatches = ga.ga_len;
return OK;
}
+#endif
/*
* Expand an option which is a list of flags.
diff --git a/src/version.c b/src/version.c
index 2bb134a3b9..7c5f3c4fe0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1993,
+/**/
1992,
/**/
1991,