From: Christian Brabandt Date: Thu, 5 Oct 2023 20:17:09 +0000 (+0200) Subject: patch 9.0.1993: warning about unused function definition X-Git-Tag: v9.0.1993^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9960ebcacee5f430d61735991a0563858168ef2c;p=thirdparty%2Fvim.git patch 9.0.1993: warning about unused function definition Problem: warning about unused function definition Solution: add ifdefs Signed-off-by: Christian Brabandt --- 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, /**/