diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c index 281c3aa76..8d3f66afd 100644 --- a/src/joystick/SDL_gamecontroller.c +++ b/src/joystick/SDL_gamecontroller.c @@ -830,8 +830,8 @@ static ControllerMapping_t *SDL_PrivateGetControllerMappingForGUID(SDL_JoystickG #ifdef __ANDROID__ } else { mapping = SDL_CreateMappingForAndroidController(guid); - } #endif + } return mapping; }