Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warning.

  • Loading branch information
icculus committed Aug 30, 2012
1 parent d88a31e commit 9894b5be576b72d5826cfbf309316725a481278e
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/audio/SDL_wave.c
@@ -422,6 +422,8 @@ SDL_LoadWAV_RW(SDL_RWops * src, int freesrc,
/* FMT chunk */
WaveFMT *format = NULL;

SDL_zero(chunk);

/* Make sure we are passed a valid data source */
was_error = 0;
if (src == NULL) {

0 comments on commit 9894b5b

Please sign in to comment.