SDL: Fixed error: unused variable 'axes' [-Werror,-Wunused-variable] (8538d)

From 8538d5dcf1ae71337d9342fd7331e8c65dc5e072 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]

(cherry picked from commit 814a94c34985c6d3a7fbd906885b1dfea0979925)
(cherry picked from commit 6669d04ea6b61275d9e9f74e76ab8eda4518d5c3)
---
 src/joystick/iphoneos/SDL_mfijoystick.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/joystick/iphoneos/SDL_mfijoystick.m b/src/joystick/iphoneos/SDL_mfijoystick.m
index be70a0710930..28ddca72348c 100644
--- a/src/joystick/iphoneos/SDL_mfijoystick.m
+++ b/src/joystick/iphoneos/SDL_mfijoystick.m
@@ -790,11 +790,11 @@ static void IOS_AddJoystickDevice(GCController *controller, SDL_bool acceleromet
             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;
         }
     }