From: Takashi Iwai Date: Mon, 22 Mar 2010 16:09:47 +0000 (+0100) Subject: ALSA: hda - Fix uninitialized variable warning in alc_auto_parse_customize_define() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7fb5622326bf98437e629e94f8710eb12a90b30d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ALSA: hda - Fix uninitialized variable warning in alc_auto_parse_customize_define() Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3d37e2161a57..3dc2be8f3ca9 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1263,7 +1263,7 @@ static void alc_init_auto_mic(struct hda_codec *codec) static int alc_auto_parse_customize_define(struct hda_codec *codec) { unsigned int ass, tmp, i; - unsigned nid; + unsigned nid = 0; struct alc_spec *spec = codec->spec; ass = codec->subsystem_id & 0xffff;