mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
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:
committed by
Christian Brabandt
parent
532a5fb131
commit
a9657c8952
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user