From 9960ebcacee5f430d61735991a0563858168ef2c Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Thu, 5 Oct 2023 22:17:09 +0200 Subject: [PATCH] patch 9.0.1993: warning about unused function definition Problem: warning about unused function definition Solution: add ifdefs Signed-off-by: Christian Brabandt --- src/optionstr.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) 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 @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1993, /**/ 1992, /**/