Browse Source

Fixed compiler warning

Sam Lantinga 5 years ago
parent
commit
cb800d1c27
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/joystick/iphoneos/SDL_sysjoystick.m

+ 0 - 1
src/joystick/iphoneos/SDL_sysjoystick.m

@@ -211,7 +211,6 @@ IOS_AddMFIJoystickDevice(SDL_JoystickDeviceItem *device, GCController *controlle
     }
     }
 #if TARGET_OS_TV
 #if TARGET_OS_TV
     else if (controller.microGamepad) {
     else if (controller.microGamepad) {
-        GCMicroGamepad *gamepad = controller.microGamepad;
         int nbuttons = 0;
         int nbuttons = 0;
 
 
         device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_A);
         device->button_mask |= (1 << SDL_CONTROLLER_BUTTON_A);