sdl12-compat: Remove unused SetupScreenSaver function.

From d76fd2c1862e51ad0b1d856d0e39efd2cbf7895b Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 24 Jan 2022 16:17:51 -0500
Subject: [PATCH] Remove unused SetupScreenSaver function.

Reference Issue #143.
---
 src/SDL12_compat.c | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 2263166..4a2483b 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -4594,30 +4594,6 @@ GetEnvironmentWindowPosition(int *x, int *y)
     }
 }
 
-#if 0 /* unused, yet. */
-static void
-SetupScreenSaver(const int flags12)
-{
-    const char *env;
-    SDL_bool allow_screensaver;
-
-    /* Allow environment override of screensaver disable */
-    env = SDL20_getenv("SDL_VIDEO_ALLOW_SCREENSAVER");
-    if (env) {
-        allow_screensaver = SDL20_atoi(env) ? SDL_TRUE : SDL_FALSE;
-    } else if (flags12 & SDL12_FULLSCREEN) {
-        allow_screensaver = SDL_FALSE;
-    } else {
-        allow_screensaver = SDL_TRUE;
-    }
-    if (allow_screensaver) {
-        SDL20_EnableScreenSaver();
-    } else {
-        SDL20_DisableScreenSaver();
-    }
-}
-#endif
-
 static SDL12_Surface *
 EndVidModeCreate(void)
 {