[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>
This commit is contained in:
Takashi Iwai 2006-01-23 15:20:38 +01:00 committed by Jaroslav Kysela
parent 51c2bbfcdb
commit fe25ad8a84

View 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;