patch 9.0.1993: warning about unused function definition
Commit:
https://github.com/vim/vim/commit/9960ebcacee5f430d61735991a0563858168ef2c
Author: Christian Brabandt <[email protected]>
Date: Thu Oct 5 22:17:09 2023 +0200
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]>
diff --git a/src/optionstr.c b/src/optionstr.c
index 6b40dcd70..202e93e57 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 2bb134a3b..7c5f3c4fe 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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qoUyy-009UPn-5E%40256bit.org.