SDL_mfijoystick.m: Fix -Wshadow warning

This commit is contained in:
Cameron Gutman 2021-11-24 13:04:50 -06:00
parent e77cfb9a11
commit b99510836e

View file

@ -1473,7 +1473,6 @@ IOS_JoystickClose(SDL_Joystick *joystick)
#ifdef ENABLE_MFI_SYSTEM_GESTURE_STATE
if (@available(macOS 11.0, iOS 14.0, tvOS 14.0, *)) {
GCController *controller = joystick->hwdata->controller;
for (id key in controller.physicalInputProfile.buttons) {
GCControllerButtonInput *button = controller.physicalInputProfile.buttons[key];
if ([button isBoundToSystemGesture]) {