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.
*/
char *
did_set_showtabpanel(optset_T *args)
did_set_showtabpanel(optset_T *args UNUSED)
{
shell_new_columns();
return NULL;