SDL: Remove disabled self test main functions in src/SDL_error.c

From 048df6260c1c78863234945e556e9247c55ac31a Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 1 Feb 2023 20:14:48 +0100
Subject: [PATCH] Remove disabled self test main functions in src/SDL_error.c

---
 src/SDL_error.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/SDL_error.c b/src/SDL_error.c
index 46cb244d6602..238c50f77532 100644
--- a/src/SDL_error.c
+++ b/src/SDL_error.c
@@ -91,22 +91,6 @@ int SDL_Error(SDL_errorcode code)
     }
 }
 
-#ifdef TEST_ERROR
-int main(int argc, char *argv[])
-{
-    char buffer[BUFSIZ + 1];
-
-    SDL_SetError("Hi there!");
-    printf("Error 1: %s\n", SDL_GetError());
-    SDL_ClearError();
-    SDL_memset(buffer, '1', BUFSIZ);
-    buffer[BUFSIZ] = 0;
-    SDL_SetError("This is the error: %s (%f)", buffer, 1.0);
-    printf("Error 2: %s\n", SDL_GetError());
-    exit(0);
-}
-#endif
-
 char *
 SDL_GetErrorMsg(char *errstr, int maxlen)
 {