ALSA: hda - Fix uninitialized variable warning in alc_auto_parse_customize_define()
Takashi Iwai [Mon, 22 Mar 2010 16:09:47 +0000 (17:09 +0100)]
Signed-off-by: Takashi Iwai <tiwai@suse.de>

sound/pci/hda/patch_realtek.c

index 3d37e21..3dc2be8 100644 (file)
@@ -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;