patch 9.1.1457: compile warning with tabpanelopt

Commit: 
https://github.com/vim/vim/commit/a9657c895277fe7231f5b7d9e1c755f804fddc1c
Author: John Marriott <basil...@internode.on.net>
Date:   Thu Jun 12 21:37:18 2025 +0200

    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 <basil...@internode.on.net>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/option.c b/src/option.c
index 85c370553..150e5627f 100644
--- a/src/option.c
+++ b/src/option.c
@@ -8847,7 +8847,7 @@ option_set_callback_func(char_u *optval UNUSED, 
callback_T *optcb UNUSED)
  * 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 d667e5358..e82654a8e 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -3565,7 +3565,7 @@ did_set_rulerformat(optset_T *args)
  * 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 a7b31cad5..a9e73850f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1457,
 /**/
     1456,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uPnrF-00FrNm-Fi%40256bit.org.

Raspunde prin e-mail lui