1
0
forked from aniani/vim

patch 8.1.2064: MS-Windows: compiler warnings for unused arguments

Problem:    MS-Windows: compiler warnings for unused arguments.
Solution:   Add UNUSED. (Yegappan Lakshmanan, closes #4963)
This commit is contained in:
Bram Moolenaar
2019-09-21 23:09:04 +02:00
parent 1e82a784ac
commit bd67aac279
13 changed files with 24 additions and 22 deletions

View File

@@ -577,7 +577,7 @@ messageFromServerGtk2(gpointer clientData,
# endif
static void
channel_gui_register_one(channel_T *channel, ch_part_T part)
channel_gui_register_one(channel_T *channel, ch_part_T part UNUSED)
{
if (!CH_HAS_GUI)
return;
@@ -661,7 +661,7 @@ channel_gui_register_all(void)
}
static void
channel_gui_unregister_one(channel_T *channel, ch_part_T part)
channel_gui_unregister_one(channel_T *channel UNUSED, ch_part_T part UNUSED)
{
# ifdef FEAT_GUI_X11
if (channel->ch_part[part].ch_inputHandler != (XtInputId)NULL)
@@ -5800,7 +5800,7 @@ job_check_ended(void)
job_T *
job_start(
typval_T *argvars,
char **argv_arg,
char **argv_arg UNUSED,
jobopt_T *opt_arg,
int is_terminal UNUSED)
{