ALSA: hda - Fix uninitialized variable warning in alc_auto_parse_customize_define()
authorTakashi Iwai <tiwai@suse.de>
Mon, 22 Mar 2010 16:09:47 +0000 (17:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
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 3d37e2161a578755fef1f0b06f94e3051864ff67..3dc2be8f3ca97205ba74df89081d23f407018d06 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;