SDL: Fixed error: unused variable 'axes' [-Werror,-Wunused-variable]

From 814a94c34985c6d3a7fbd906885b1dfea0979925 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 12 Feb 2024 11:18:11 -0800
Subject: [PATCH] Fixed error: unused variable 'axes'
 [-Werror,-Wunused-variable]

---
 src/joystick/apple/SDL_mfijoystick.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/joystick/apple/SDL_mfijoystick.m b/src/joystick/apple/SDL_mfijoystick.m
index e9f68e593068..9f43a6e6398f 100644
--- a/src/joystick/apple/SDL_mfijoystick.m
+++ b/src/joystick/apple/SDL_mfijoystick.m
@@ -761,11 +761,11 @@ static void IOS_AddJoystickDevice(GCController *controller)
             device->controller = nil;
         }
         if (device->axes) {
-            NSArray *axes = CFBridgingRelease((__bridge CFTypeRef)(device->axes));
+            CFRelease((__bridge CFTypeRef)device->axes);
             device->axes = nil;
         }
         if (device->buttons) {
-            NSArray *buttons = CFBridgingRelease((__bridge CFTypeRef)(device->buttons));
+            CFRelease((__bridge CFTypeRef)device->buttons);
             device->buttons = nil;
         }
     }