projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e8972
)
ALSA: usb-audio: fix uninitialized variable compile warning
author
Mikulas Patocka
<mpatocka@redhat.com>
Thu, 5 Dec 2013 19:32:43 +0000
(14:32 -0500)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 5 Dec 2013 20:13:18 +0000
(21:13 +0100)
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>
sound/usb/mixer_quirks.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/mixer_quirks.c
b/sound/usb/mixer_quirks.c
index 3454262358b398913779954846ab12c11e7c5973..f4b12c216f1cd55c2db4396746a5abc9f20ed302 100644
(file)
--- 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)