mirror of
https://github.com/yawut/SDL.git
synced 2026-08-20 15:54:10 -05:00
Fixed unused variable warning
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user