]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1993: warning about unused function definition v9.0.1993
authorChristian Brabandt <cb@256bit.org>
Thu, 5 Oct 2023 20:17:09 +0000 (22:17 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 5 Oct 2023 20:17:09 +0000 (22:17 +0200)
Problem:  warning about unused function definition
Solution: add ifdefs

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/optionstr.c
src/version.c

index 6b40dcd706f94fdf3fcf817da9c9bea0ef1e3634..202e93e57db0e1990270da5e1a1270b59ea22ddc 100644 (file)
@@ -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.
index 2bb134a3b922b39c6e862ea6285b71d07b78d64e..7c5f3c4fe02ab8c9944d4cdf5656d28157fe9023 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1993,
 /**/
     1992,
 /**/