SDL_image: Fixed warning: unused variable 'success'

From 4dd59a3f34a207c232b75d0b89eee1025e5f6e37 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 22 Jan 2025 12:40:42 -0800
Subject: [PATCH] Fixed warning: unused variable 'success'

---
 src/IMG.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/IMG.c b/src/IMG.c
index 082d2935..6f74198c 100644
--- a/src/IMG.c
+++ b/src/IMG.c
@@ -152,7 +152,7 @@ SDL_Surface *IMG_LoadTyped_IO(SDL_IOStream *src, bool closeio, const char *type)
     /*load through preloadedImages*/
     FILE *fp = (FILE *)SDL_GetPointerProperty(SDL_GetIOProperties(src), SDL_PROP_IOSTREAM_STDIO_FILE_POINTER, NULL);
     if (fp) {
-        int w, h, success;
+        int w, h;
         char *data;
         SDL_Surface *surf;