alsa/0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
Takashi Iwai 4f943c3d9e Accepting request 143672 from home:tiwai:branches:multimedia:libs
- backport UAPI header fix, chmap extension and comiple warning fix
  0036-Merge-kernel-uapi-sound-asound.h-and-asequencer.h.patch
  0037-PCM-Add-more-chmap-definitions-for-UAC2.patch
  0038-PCM-shut-up-a-compile-unused-parameter-compile-warni.patch
  0039-Add-workaround-for-conflicting-snd_seq_event_t-defin.patch

OBS-URL: https://build.opensuse.org/request/show/143672
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=117
2012-11-30 13:56:05 +00:00

28 lines
906 B
Diff

From f47816d6b78003b5161ffb67b3b5c1b62b8a2a00 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Mon, 26 Nov 2012 18:13:01 +0100
Subject: [PATCH 38/38] PCM: shut up a compile "unused parameter" compile
warning in pcm_multi.c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
src/pcm/pcm_multi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pcm/pcm_multi.c b/src/pcm/pcm_multi.c
index 2db82c0..f58852c 100644
--- a/src/pcm/pcm_multi.c
+++ b/src/pcm/pcm_multi.c
@@ -739,7 +739,7 @@ static int snd_pcm_multi_mmap(snd_pcm_t *pcm)
return 0;
}
-static int snd_pcm_multi_may_wait_for_avail_min(snd_pcm_t *pcm, snd_pcm_uframes_t avail)
+static int snd_pcm_multi_may_wait_for_avail_min(snd_pcm_t *pcm, snd_pcm_uframes_t avail ATTRIBUTE_UNUSED)
{
snd_pcm_multi_t *multi = pcm->private_data;
snd_pcm_t *slave = multi->slaves[multi->master_slave].pcm;
--
1.8.0.1