projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7a083
)
ALSA: hda - Fix a copmile warning
author
Takashi Iwai
<tiwai@suse.de>
Sat, 9 Jul 2011 09:55:28 +0000
(11:55 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 9 Jul 2011 09:55:28 +0000
(11:55 +0200)
It's harmless but annyoing.
sound/pci/hda/patch_realtek.c: In function ‘alc_cap_getput_caller’:
sound/pci/hda/patch_realtek.c:2722:9: warning: ‘err’ may be used uninitialized in this function
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 7d492713c1c16955bf230da754a419a4ba29ba90..b48fb43b5448bd7d400c75de0acd6355d7156f28 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-2719,7
+2719,7
@@
static int alc_cap_getput_caller(struct snd_kcontrol *kcontrol,
{
struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
struct alc_spec *spec = codec->spec;
- int i, err;
+ int i, err
= 0
;
mutex_lock(&codec->control_mutex);
if (check_adc_switch && spec->dual_adc_switch) {