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