summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-11-21 15:22:01 +0100
committerTakashi Iwai <tiwai@suse.de>2014-11-21 15:22:01 +0100
commitb779f6f43204c43f231b77858ba023a16de54568 (patch)
treeba9ab599788ffc7d92b7add2bb6ff75ebf37bcdd
parentc0a708180fa22133940c4bc50fbc627801f188eb (diff)
downloadalsa-lib-b779f6f43204c43f231b77858ba023a16de54568.tar.gz
mixer: Fix unused parameter warnings
mixer_simple.h:35:64: warning: unused parameter 'mixer' [-Wunused-parameter] static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer, ^ mixer_simple.h:36:40: warning: unused parameter 'options' [-Wunused-parameter] struct snd_mixer_selem_regopt *options, ^ mixer_simple.h:37:29: warning: unused parameter 'classp' [-Wunused-parameter] snd_mixer_class_t **classp) ^ Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/mixer/mixer_simple.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mixer/mixer_simple.h b/src/mixer/mixer_simple.h
index 116eebd9..f6117da8 100644
--- a/src/mixer/mixer_simple.h
+++ b/src/mixer/mixer_simple.h
@@ -32,9 +32,9 @@ int snd_mixer_simple_none_register(snd_mixer_t *mixer, struct snd_mixer_selem_re
#ifdef HAVE_LIBDL
int snd_mixer_simple_basic_register(snd_mixer_t *mixer, struct snd_mixer_selem_regopt *options, snd_mixer_class_t **classp);
#else
-static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer,
- struct snd_mixer_selem_regopt *options,
- snd_mixer_class_t **classp)
+static inline int snd_mixer_simple_basic_register(snd_mixer_t *mixer ATTRIBUTE_UNUSED,
+ struct snd_mixer_selem_regopt *options ATTRIBUTE_UNUSED,
+ snd_mixer_class_t **classp ATTRIBUTE_UNUSED)
{
return -ENXIO;
}