mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 13:46:30 +01:00
alsaloop: use ATTRIBUTE_UNUSED instead remove argument name
We need to support older compilers than GCC 11.
Link: https://github.com/alsa-project/alsa-utils/issues/233
Fixes: d609a58
("alsaloop: fix the verbose compilation warnings for latest gcc")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
2db896afd4
commit
7552aef6e0
2 changed files with 3 additions and 3 deletions
|
@ -821,7 +821,7 @@ static void send_to_all(int sig)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void signal_handler(int)
|
static void signal_handler(int sig ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
quit = 1;
|
quit = 1;
|
||||||
send_to_all(SIGUSR2);
|
send_to_all(SIGUSR2);
|
||||||
|
|
|
@ -625,7 +625,7 @@ static void buf_add_src(struct loopback *loop)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static void buf_add_src(struct loopback *)
|
static void buf_add_src(struct loopback *loop ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1794,7 +1794,7 @@ static int ctl_event_check(snd_ctl_elem_value_t *val, snd_ctl_event_t *ev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int handle_ctl_events(struct loopback_handle *lhandle,
|
static int handle_ctl_events(struct loopback_handle *lhandle,
|
||||||
unsigned short)
|
unsigned short events ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
struct loopback *loop = lhandle->loopback;
|
struct loopback *loop = lhandle->loopback;
|
||||||
snd_ctl_event_t *ev;
|
snd_ctl_event_t *ev;
|
||||||
|
|
Loading…
Reference in a new issue