From: John Marriott Date: Thu, 12 Jun 2025 19:37:18 +0000 (+0200) Subject: patch 9.1.1457: compile warning with tabpanelopt X-Git-Tag: v9.1.1457^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9657c895277fe7231f5b7d9e1c755f804fddc1c;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/src/option.c b/src/option.c index 85c3705536..150e5627f5 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 d667e53580..e82654a8ef 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 a7b31cad5b..a9e73850fb 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, /**/