From: Takashi Iwai Date: Mon, 16 Jan 2006 12:55:48 +0000 (+0100) Subject: [ALSA] au88x0 - Fix a compile warning X-Git-Tag: v2.6.16-rc2~1^2~7^2~26 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7113d680d4824dfd4db43bc9880cdc98bcc309b9;p=linux-2.6-omap-h63xx.git [ALSA] au88x0 - Fix a compile warning Modules: au88x0 driver Fixed an uninitialized variable. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/au88x0/au88x0_eq.c b/sound/pci/au88x0/au88x0_eq.c index 13bc8ed301c..c8280f82eb5 100644 --- a/sound/pci/au88x0/au88x0_eq.c +++ b/sound/pci/au88x0/au88x0_eq.c @@ -849,7 +849,7 @@ static int snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { vortex_t *vortex = snd_kcontrol_chip(kcontrol); - int i, count; + int i, count = 0; u16 peaks[20]; vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count);