Skip to content

Commit

Permalink
Fixed unreachable return statement warning in gamecontroller source.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Nov 18, 2013
1 parent b5c6811 commit 3cba799
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/joystick/SDL_gamecontroller.c
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 3cba799

Please sign in to comment.