]> Pileus Git - ~andy/linux/commitdiff
[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 ed81eec6e732a4d566ae458b4a3c4d4b878b8e93..68aa091e89617b9d6bb8915d96fda8810138c669 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;