This commit fixes below compiler warnings. sbase.c:327:16: warning: variable ‘values’ set but not used [-Wunused-but-set-variable] unsigned long values; ^ Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx> --- modules/mixer/simple/sbase.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/mixer/simple/sbase.c b/modules/mixer/simple/sbase.c index bb2f59d..f967703 100644 --- a/modules/mixer/simple/sbase.c +++ b/modules/mixer/simple/sbase.c @@ -324,7 +324,6 @@ static int simple_event_add1(snd_mixer_class_t *class, struct selem_base *simple; struct helem_base *hsimple; snd_ctl_elem_type_t ctype; - unsigned long values; long min, max; int err, new = 0; struct list_head *pos; @@ -349,7 +348,6 @@ static int simple_event_add1(snd_mixer_class_t *class, if (err < 0) return err; ctype = snd_ctl_elem_info_get_type(info); - values = snd_ctl_elem_info_get_count(info); switch (ctype) { case SND_CTL_ELEM_TYPE_ENUMERATED: min = 0; -- 2.7.4 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel