Browse Source

ALSA: hda - Fix uninitialized variable warning in alc_auto_parse_customize_define()

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 15 years ago
parent
commit
7fb5622326
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/pci/hda/patch_realtek.c

+ 1 - 1
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;