Fixed compiler warning

This commit is contained in:
Sam Lantinga 2020-01-13 22:05:56 -08:00
parent 7775f7cedf
commit cb800d1c27

View File

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