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@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
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;
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;