Fixed unreachable return statement warning in gamecontroller source.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 18 Nov 2013 23:43:15 +0100
changeset 8009 c185ac7fb771
parent 8008 5e5819ca19db
child 8010 ffd65b452bd2
Fixed unreachable return statement warning in gamecontroller source.
src/joystick/SDL_gamecontroller.c
--- a/src/joystick/SDL_gamecontroller.c	Mon Nov 18 23:38:59 2013 +0100
+++ b/src/joystick/SDL_gamecontroller.c	Mon Nov 18 23:43:15 2013 +0100
@@ -289,8 +289,6 @@
         SDL_JoystickGUID jGUID = SDL_JoystickGetDeviceGUID( device_index );
         return SDL_PrivateGetControllerMappingForGUID(&jGUID);
     }
-
-    return NULL;
 }
 
 static const char* map_StringForControllerAxis[] = {