Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 30 Aug 2012 12:58:58 -0700
changeset 6409 b85e863a507e
parent 6408 6fb90a109d83
child 6410 f6c0a9462662
child 8311 40f2e97c4051
Fixed compiler warning.
src/audio/SDL_wave.c
--- a/src/audio/SDL_wave.c	Sun Aug 26 20:27:25 2012 -0400
+++ b/src/audio/SDL_wave.c	Thu Aug 30 12:58:58 2012 -0700
@@ -422,6 +422,8 @@
     /* FMT chunk */
     WaveFMT *format = NULL;
 
+    SDL_zero(chunk);
+
     /* Make sure we are passed a valid data source */
     was_error = 0;
     if (src == NULL) {