test/testaudioinfo.c
changeset 7034 3a5a53435ebd
parent 5535 96594ac5fd1a
child 7434 ef8810ae03ec
     1.1 --- a/test/testaudioinfo.c	Fri Mar 29 21:16:30 2013 -0400
     1.2 +++ b/test/testaudioinfo.c	Fri Mar 29 21:21:48 2013 -0400
     1.3 @@ -36,6 +36,8 @@
     1.4  int
     1.5  main(int argc, char **argv)
     1.6  {
     1.7 +    int n;
     1.8 +
     1.9      /* Load the SDL library */
    1.10      if (SDL_Init(SDL_INIT_AUDIO) < 0) {
    1.11          fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
    1.12 @@ -43,7 +45,7 @@
    1.13      }
    1.14  
    1.15      /* Print available audio drivers */
    1.16 -    int n = SDL_GetNumAudioDrivers();
    1.17 +    n = SDL_GetNumAudioDrivers();
    1.18      if (n == 0) {
    1.19          printf("No built-in audio drivers\n\n");
    1.20      } else {