summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2013-12-05 14:32:43 -0500
committerTakashi Iwai <tiwai@suse.de>2013-12-05 21:13:18 +0100
commit18e4753ff3c8f5a1f21d8ec7ab506c49a0dfb32f (patch)
treec16e3931b0b275f6b4046fcc5cb77603779391fd
parentb1e8972e398aa9f1d022cec5946691d091dfd9cc (diff)
downloadop-kernel-dev-18e4753ff3c8f5a1f21d8ec7ab506c49a0dfb32f.zip
op-kernel-dev-18e4753ff3c8f5a1f21d8ec7ab506c49a0dfb32f.tar.gz
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>
-rw-r--r--sound/usb/mixer_quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index 3454262..f4b12c2 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)
OpenPOWER on IntegriCloud