diff options
author | Jaroslav Kysela <perex@perex.cz> | 2012-10-30 13:07:48 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2012-10-30 13:09:10 +0100 |
commit | 49dde08641f8c6b480c0d410d4fdb2160752dd9a (patch) | |
tree | 89849ca23b0558e2adac87312613c8752e0d6f31 /src/mixer/simple_none.c | |
parent | edcd677bf2065c560ef578940bab8f0aacddf0e6 (diff) | |
download | alsa-lib-49dde08641f8c6b480c0d410d4fdb2160752dd9a.tar.gz |
Reduce compilation warnings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'src/mixer/simple_none.c')
-rw-r--r-- | src/mixer/simple_none.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c index b11e9e8a..1c2774ac 100644 --- a/src/mixer/simple_none.c +++ b/src/mixer/simple_none.c @@ -672,7 +672,6 @@ static int simple_update(snd_mixer_elem_t *melem) unsigned int caps, pchannels, cchannels; long pmin, pmax, cmin, cmax; selem_ctl_t *ctl; - const char *name; caps = 0; pchannels = 0; @@ -683,7 +682,6 @@ static int simple_update(snd_mixer_elem_t *melem) cmax = LONG_MIN; assert(snd_mixer_elem_get_type(melem) == SND_MIXER_ELEM_SIMPLE); simple = snd_mixer_elem_get_private(melem); - name = snd_mixer_selem_get_name(melem); ctl = &simple->ctls[CTL_SINGLE]; if (ctl->elem) { pchannels = cchannels = ctl->values; |