https://github.com/libsdl-org/SDL/commit/54af687210cf08b7b81b0888f9eca61034f232a1
From 54af687210cf08b7b81b0888f9eca61034f232a1 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 22 Jul 2023 16:49:06 -0400
Subject: [PATCH] testautomation_audio.c: Patched to compile. :/
---
test/testautomation_audio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/testautomation_audio.c b/test/testautomation_audio.c
index a59bbb206dcf..d7a7c65982ac 100644
--- a/test/testautomation_audio.c
+++ b/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 */