From 396dd16471d4d9d49d78c33d1b38dfd85d579e1c Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 21 Jun 2024 23:25:23 +0200
Subject: [PATCH] SDL_test: Remove unused common_usage_* static char pointers
---
src/test/SDL_test_common.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/test/SDL_test_common.c b/src/test/SDL_test_common.c
index aea372ec2f465..10a09b831242a 100644
--- a/src/test/SDL_test_common.c
+++ b/src/test/SDL_test_common.c
@@ -753,10 +753,6 @@ void SDLTest_CommonLogUsage(SDLTest_CommonState *state, const char *argv0, const
}
}
-static char *common_usage_video = NULL;
-static char *common_usage_audio = NULL;
-static char *common_usage_videoaudio = NULL;
-
SDL_bool SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, const int argc, char **argv)
{
int i = 1;
@@ -2499,13 +2495,6 @@ void SDLTest_CommonQuit(SDLTest_CommonState *state)
{
int i;
- SDL_free(common_usage_video);
- SDL_free(common_usage_audio);
- SDL_free(common_usage_videoaudio);
- common_usage_video = NULL;
- common_usage_audio = NULL;
- common_usage_videoaudio = NULL;
-
if (state->targets) {
for (i = 0; i < state->num_windows; ++i) {
if (state->targets[i]) {