Fixed unused local variable warning in joystick source for Android.
parent
28309c1d13
commit
b97e077e47
|
@ -421,7 +421,6 @@ int
|
|||
SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
|
||||
{
|
||||
SDL_joylist_item *item = JoystickByDevIndex(device_index);
|
||||
char *fname = NULL;
|
||||
|
||||
if (item == NULL ) {
|
||||
return SDL_SetError("No such device");
|
||||
|
|
Loading…
Reference in New Issue