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>
This commit is contained in:
John Marriott
2025-06-12 21:37:18 +02:00
committed by Christian Brabandt
parent 532a5fb131
commit a9657c8952
3 changed files with 4 additions and 2 deletions

View File

@ -8847,7 +8847,7 @@ option_set_callback_func(char_u *optval UNUSED, callback_T *optcb UNUSED)
* Process the new 'showtabpanel' option value. * Process the new 'showtabpanel' option value.
*/ */
char * char *
did_set_showtabpanel(optset_T *args) did_set_showtabpanel(optset_T *args UNUSED)
{ {
shell_new_columns(); shell_new_columns();
return NULL; return NULL;

View File

@ -3565,7 +3565,7 @@ did_set_rulerformat(optset_T *args)
* Process the new 'tabpanelopt' option value. * Process the new 'tabpanelopt' option value.
*/ */
char * char *
did_set_tabpanelopt(optset_T *args) did_set_tabpanelopt(optset_T *args UNUSED)
{ {
if (tabpanelopt_changed() == FAIL) if (tabpanelopt_changed() == FAIL)
return e_invalid_argument; return e_invalid_argument;

View File

@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1457,
/**/ /**/
1456, 1456,
/**/ /**/