patch 9.1.1457: compile warning with tabpanelopt
Problem: compile warning with tabpanelopt
Solution: declare arg as UNUSED (John Marriott)
closes: #17528
Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/option.c b/src/option.c
index 85c3705..150e562 100644
--- a/src/option.c
+++ b/src/option.c
@@ -8847,7 +8847,7 @@
* Process the new 'showtabpanel' option value.
*/
char *
-did_set_showtabpanel(optset_T *args)
+did_set_showtabpanel(optset_T *args UNUSED)
{
shell_new_columns();
return NULL;
diff --git a/src/optionstr.c b/src/optionstr.c
index d667e53..e82654a 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -3565,7 +3565,7 @@
* Process the new 'tabpanelopt' option value.
*/
char *
-did_set_tabpanelopt(optset_T *args)
+did_set_tabpanelopt(optset_T *args UNUSED)
{
if (tabpanelopt_changed() == FAIL)
return e_invalid_argument;
diff --git a/src/version.c b/src/version.c
index a7b31ca..a9e7385 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1457,
+/**/
1456,
/**/
1455,