Fixed compiler warning

Sam Lantinga 2020-01-13 22:05:56 -08:00
parent 7775f7cedf
commit cb800d1c27
1 changed files with 0 additions and 1 deletions

View File

@ -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);