]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[ALSA] au88x0 - Fix a compile warning
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Jan 2006 12:55:48 +0000 (13:55 +0100)
committerJaroslav Kysela <perex@suse.cz>
Sun, 22 Jan 2006 15:24:55 +0000 (16:24 +0100)
Modules: au88x0 driver

Fixed an uninitialized variable.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/au88x0/au88x0_eq.c

index 13bc8ed301c572e8d3d78341bb9064f71ed7d889..c8280f82eb5ad4edde8141b3bea1b430683a8c23 100644 (file)
@@ -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);