Fixed compiler warning: zero-length gnu_printf format string
authorSam Lantinga <slouken@libsdl.org>
Sun, 15 Jun 2014 13:09:33 -0700
changeset 6826f2ff3d6e04d
parent 681 74441a1c867d
child 683 2f5a0f83a88e
Fixed compiler warning: zero-length gnu_printf format string
music.c
     1.1 --- a/music.c	Sun May 11 11:20:42 2014 -0400
     1.2 +++ b/music.c	Sun Jun 15 13:09:33 2014 -0700
     1.3 @@ -574,7 +574,7 @@
     1.4  
     1.5      /* We need to know if a specific error occurs; if not, we'll set a
     1.6       * generic one, so we clear the current one. */
     1.7 -    Mix_SetError("");
     1.8 +    Mix_SetError(NULL);
     1.9      music = Mix_LoadMUSType_RW(src, type, SDL_TRUE);
    1.10      if ( music == NULL && Mix_GetError()[0] == '\0' ) {
    1.11          Mix_SetError("Unrecognized music format");