aboutsummaryrefslogtreecommitdiff
path: root/sound/isa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-23 15:20:38 +0100
committerJaroslav Kysela <perex@suse.cz>2006-02-01 13:09:07 +0100
commitfe25ad8a84c798a82591e5ed14519c001500fa61 (patch)
tree77d4ebe873ccb24f0325b6e8be10a30c9abc738c /sound/isa
parent51c2bbfcdb10162b294f31e2b1c7106639caaec2 (diff)
[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/isa')
-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 ed81eec6e73..68aa091e896 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;