summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-23 17:20:38 +0300
committerJaroslav Kysela <perex@suse.cz>2006-02-01 15:09:07 +0300
commitfe25ad8a84c798a82591e5ed14519c001500fa61 (patch)
tree77d4ebe873ccb24f0325b6e8be10a30c9abc738c /sound
parent51c2bbfcdb10162b294f31e2b1c7106639caaec2 (diff)
downloadlinux-fe25ad8a84c798a82591e5ed14519c001500fa61.tar.xz
[ALSA] wavefront - Fix a compile warning
Modules: Wavefront drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/isa/wavefront/wavefront_synth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c
index ed81eec6e732..68aa091e8961 100644
--- a/sound/isa/wavefront/wavefront_synth.c
+++ b/sound/isa/wavefront/wavefront_synth.c
@@ -866,7 +866,7 @@ wavefront_send_sample (snd_wavefront_t *dev,
divided by 2.
*/
- u16 sample_short;
+ u16 sample_short = 0;
u32 length;
u16 __user *data_end = NULL;
unsigned int i;