Fixed unused variable warning
authorSam Lantinga
Mon, 26 Nov 2012 23:53:18 -0800
changeset 67023262d73b843b
parent 6701 91160c9b35da
child 6703 638db4ddb733
Fixed unused variable warning
src/joystick/SDL_gamecontroller.c
     1.1 --- a/src/joystick/SDL_gamecontroller.c	Mon Nov 26 23:50:12 2012 -0800
     1.2 +++ b/src/joystick/SDL_gamecontroller.c	Mon Nov 26 23:53:18 2012 -0800
     1.3 @@ -730,8 +730,6 @@
     1.4  	SDL_GameController *gamecontrollerlist;
     1.5  	ControllerMapping_t *pSupportedController = NULL;
     1.6  
     1.7 -	int deviceMappingIndex = -1;
     1.8 -
     1.9      if ((device_index < 0) || (device_index >= SDL_NumJoysticks())) {
    1.10          SDL_SetError("There are %d joysticks available", SDL_NumJoysticks());
    1.11          return (NULL);