Fixed unreachable return statement warning in gamecontroller source.

This commit is contained in:
Philipp Wiesemann 2013-11-18 23:43:15 +01:00
parent b5c6811108
commit 3cba79970c

View file

@ -289,8 +289,6 @@ ControllerMapping_t *SDL_PrivateGetControllerMapping(int device_index)
SDL_JoystickGUID jGUID = SDL_JoystickGetDeviceGUID( device_index ); SDL_JoystickGUID jGUID = SDL_JoystickGetDeviceGUID( device_index );
return SDL_PrivateGetControllerMappingForGUID(&jGUID); return SDL_PrivateGetControllerMappingForGUID(&jGUID);
} }
return NULL;
} }
static const char* map_StringForControllerAxis[] = { static const char* map_StringForControllerAxis[] = {