From: Takashi Iwai Date: Mon, 23 Jan 2006 14:20:38 +0000 (+0100) Subject: [ALSA] wavefront - Fix a compile warning X-Git-Tag: v2.6.16-rc2~1^2~7^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fe25ad8a84c798a82591e5ed14519c001500fa61;p=linux-2.6-omap-h63xx.git [ALSA] wavefront - Fix a compile warning Modules: Wavefront drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai --- 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;