From: Takashi Iwai Date: Mon, 23 Jan 2006 14:20:38 +0000 (+0100) Subject: [ALSA] wavefront - Fix a compile warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fe25ad8a84c798a82591e5ed14519c001500fa61;p=linux-beck.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 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;