diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2013-12-05 20:32:43 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-12-05 21:13:18 +0100 |
commit | 18e4753ff3c8f5a1f21d8ec7ab506c49a0dfb32f (patch) | |
tree | c16e3931b0b275f6b4046fcc5cb77603779391fd /sound/usb | |
parent | ALSA: hda - fix mic issues on Acer Aspire E-572 (diff) | |
download | linux-18e4753ff3c8f5a1f21d8ec7ab506c49a0dfb32f.tar.xz linux-18e4753ff3c8f5a1f21d8ec7ab506c49a0dfb32f.zip |
ALSA: usb-audio: fix uninitialized variable compile warning
Fix the following warning when optimizing for size with gcc-4.6.4:
sound/usb/mixer_quirks.c:1514:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/mixer_quirks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 3454262358b3..f4b12c216f1c 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -1603,7 +1603,7 @@ static int snd_microii_controls_create(struct usb_mixer_interface *mixer) return err; } - return err; + return 0; } int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer) |