Browse Source

Fixed warning building on iOS

Sam Lantinga 2 years ago
parent
commit
bff307c4b2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/joystick/apple/SDL_mfijoystick.m

+ 2 - 0
src/joystick/apple/SDL_mfijoystick.m

@@ -272,6 +272,8 @@ static BOOL IOS_AddMFIJoystickDevice(SDL_JoystickDeviceItem *device, GCControlle
             /* The HIDAPI driver is taking care of this device */
             /* The HIDAPI driver is taking care of this device */
             return FALSE;
             return FALSE;
         }
         }
+#else
+        (void)is_stadia;
 #endif
 #endif
 
 
         /* These buttons are part of the original MFi spec */
         /* These buttons are part of the original MFi spec */