Parcourir la source

testautomation_audio.c: Patched to compile. :/

Ryan C. Gordon il y a 1 an
Parent
commit
54af687210
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      test/testautomation_audio.c

+ 2 - 2
test/testautomation_audio.c

@@ -227,7 +227,7 @@ static int audio_initOpenCloseQuitAudio(void *arg)
 static int audio_pauseUnpauseAudio(void *arg)
 {
     int iMax;
-    int i, k, j;
+    int i, j /*, k, l*/;
     int result;
     const char *audioDriver;
     SDL_AudioSpec desired;
@@ -281,7 +281,7 @@ static int audio_pauseUnpauseAudio(void *arg)
 
 #if 0  /* !!! FIXME: maybe update this? */
             /* Start and stop audio multiple times */
-            for (int l = 0; l < 3; l++) {
+            for (l = 0; l < 3; l++) {
                 SDLTest_Log("Pause/Unpause iteration: %d", l + 1);
 
                 /* Reset callback counters */