rnd-20070913-1-src
[rocksndiamonds.git] / src / libgame / sound.c
index fc187139f9164b83e0ff4ab2d4c6e8f89624560d..b80cccab57ca3636078e1d8af1e23fb376d2f97e 100644 (file)
@@ -1559,6 +1559,8 @@ static void *Load_WAV(char *filename)
 
 #else /* AUDIO_UNIX_NATIVE */
 
+  clear_mem(&header, sizeof(struct SoundHeader_WAV));  /* to make gcc happy */
+
   if ((file = fopen(filename, MODE_READ)) == NULL)
   {
     Error(ERR_WARN, "cannot open sound file '%s'", filename);