Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 30, 2012
1 parent d88a31e commit 9894b5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/audio/SDL_wave.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 9894b5b

Please sign in to comment.