mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-30 17:09:51 +01:00
amidi: 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: 1843540
("amidi: fix the verbose compilation warnings for latest gcc")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
a90faa2dd6
commit
2db896afd4
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ static void print_byte(unsigned char byte, struct timespec *ts)
|
|||
printf("%02X", byte);
|
||||
}
|
||||
|
||||
static void sig_handler(int)
|
||||
static void sig_handler(int sig ATTRIBUTE_UNUSED)
|
||||
{
|
||||
stop = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue