Fixed unused variable warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 26 Nov 2012 23:53:18 -0800
changeset 6702 3262d73b843b
parent 6701 91160c9b35da
child 6703 638db4ddb733
Fixed unused variable warning
src/joystick/SDL_gamecontroller.c
--- a/src/joystick/SDL_gamecontroller.c	Mon Nov 26 23:50:12 2012 -0800
+++ b/src/joystick/SDL_gamecontroller.c	Mon Nov 26 23:53:18 2012 -0800
@@ -730,8 +730,6 @@
 	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);