Fixed unused variable warning
This commit is contained in:
parent
86e0e26475
commit
cf0dfcbaa4
1 changed files with 0 additions and 2 deletions
|
@ -730,8 +730,6 @@ SDL_GameControllerOpen(int device_index)
|
||||||
SDL_GameController *gamecontrollerlist;
|
SDL_GameController *gamecontrollerlist;
|
||||||
ControllerMapping_t *pSupportedController = NULL;
|
ControllerMapping_t *pSupportedController = NULL;
|
||||||
|
|
||||||
int deviceMappingIndex = -1;
|
|
||||||
|
|
||||||
if ((device_index < 0) || (device_index >= SDL_NumJoysticks())) {
|
if ((device_index < 0) || (device_index >= SDL_NumJoysticks())) {
|
||||||
SDL_SetError("There are %d joysticks available", SDL_NumJoysticks());
|
SDL_SetError("There are %d joysticks available", SDL_NumJoysticks());
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue