Takashi Iwai
d6037a30b7
- Update to alsa-utils 1.2.10: * MIDI 2.0 / UMP support for sequencer programs * nhlt: add nhlt-dmic-info utility * Build fixes and cleanups * speaker-test: allow large buffer and period time setup - up to 100 seconds * various topology fixes For details, see: https://www.alsa-project.org/wiki/Changes_v1.2.9_v1.2.10#alsa-utils - Fix the builds with old gcc: 0001-axfer-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch 0002-amidi-use-ATTRIBUTE_UNUSED-instead-remove-argument-n.patch 0003-alsaloop-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch 0004-bat-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch 0005-seq-use-ATTRIBUTE_UNUSED-instead-remove-argument-nam.patch 0006-alsaucm-use-ATTRIBUTE_UNUSED-instead-remove-argument.patch 0007-topology-use-ATTRIBUTE_UNUSED-instead-remove-argumen.patch OBS-URL: https://build.opensuse.org/request/show/1108917 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=207
31 lines
878 B
Diff
31 lines
878 B
Diff
From 2db896afd475b0b3ad07e97ba74ec9680b4f7f6d Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Mon, 4 Sep 2023 16:37:24 +0200
|
|
Subject: [PATCH] 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>
|
|
---
|
|
amidi/amidi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/amidi/amidi.c b/amidi/amidi.c
|
|
index f930ca8ef30b..75fb8c0a42a3 100644
|
|
--- a/amidi/amidi.c
|
|
+++ b/amidi/amidi.c
|
|
@@ -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;
|
|
}
|
|
--
|
|
2.35.3
|
|
|