diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-01-16 07:55:48 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-22 10:24:55 -0500 |
commit | 7113d680d4824dfd4db43bc9880cdc98bcc309b9 (patch) | |
tree | b53a061a80c24c54769961e53dd6c7124c3306cf /sound/pci/au88x0/au88x0_eq.c | |
parent | cacd3347ce5b5ee4fce90c2627d80bf0ac15dec0 (diff) |
[ALSA] au88x0 - Fix a compile warning
Modules: au88x0 driver
Fixed an uninitialized variable.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0/au88x0_eq.c')
-rw-r--r-- | sound/pci/au88x0/au88x0_eq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/au88x0/au88x0_eq.c b/sound/pci/au88x0/au88x0_eq.c index 13bc8ed301c5..c8280f82eb5a 100644 --- a/sound/pci/au88x0/au88x0_eq.c +++ b/sound/pci/au88x0/au88x0_eq.c | |||
@@ -849,7 +849,7 @@ static int | |||
849 | snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) | 849 | snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) |
850 | { | 850 | { |
851 | vortex_t *vortex = snd_kcontrol_chip(kcontrol); | 851 | vortex_t *vortex = snd_kcontrol_chip(kcontrol); |
852 | int i, count; | 852 | int i, count = 0; |
853 | u16 peaks[20]; | 853 | u16 peaks[20]; |
854 | 854 | ||
855 | vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count); | 855 | vortex_Eqlzr_GetAllPeaks(vortex, peaks, &count); |