Fixed compiler warning.
This commit is contained in:
parent
dbb60b29c1
commit
a4a3cff536
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue