From 3cba79970cc9c81fbd0b08ea72f7f5c243fc2466 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Mon, 18 Nov 2013 23:43:15 +0100 Subject: [PATCH] Fixed unreachable return statement warning in gamecontroller source. --- src/joystick/SDL_gamecontroller.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c index 603d4db38..26769b8e1 100644 --- a/src/joystick/SDL_gamecontroller.c +++ b/src/joystick/SDL_gamecontroller.c @@ -289,8 +289,6 @@ ControllerMapping_t *SDL_PrivateGetControllerMapping(int device_index) SDL_JoystickGUID jGUID = SDL_JoystickGetDeviceGUID( device_index ); return SDL_PrivateGetControllerMappingForGUID(&jGUID); } - - return NULL; } static const char* map_StringForControllerAxis[] = {