Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed unused variable warning

  • Loading branch information
slouken committed Nov 27, 2012
1 parent 9deff82 commit d0d72a403cd0799670d92ebaeda22b66fb2bcd77
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/joystick/SDL_gamecontroller.c
@@ -730,8 +730,6 @@ SDL_GameControllerOpen(int device_index)
SDL_GameController *gamecontrollerlist;
ControllerMapping_t *pSupportedController = NULL;

int deviceMappingIndex = -1;

if ((device_index < 0) || (device_index >= SDL_NumJoysticks())) {
SDL_SetError("There are %d joysticks available", SDL_NumJoysticks());
return (NULL);

0 comments on commit d0d72a4

Please sign in to comment.