[ALSA] wavefront - Fix a compile warning
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Jan 2006 14:20:38 +0000 (15:20 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 1 Feb 2006 12:09:07 +0000 (13:09 +0100)
Modules: Wavefront drivers

Fix a gcc-4.1 compile warning regarding uninitialized variables.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/wavefront/wavefront_synth.c

index ed81eec..68aa091 100644 (file)
@@ -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;