mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed unused local variable warning in joystick source for Android.
This commit is contained in:
parent
28309c1d13
commit
b97e077e47
@ -421,7 +421,6 @@ int
|
|||||||
SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
|
SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
|
||||||
{
|
{
|
||||||
SDL_joylist_item *item = JoystickByDevIndex(device_index);
|
SDL_joylist_item *item = JoystickByDevIndex(device_index);
|
||||||
char *fname = NULL;
|
|
||||||
|
|
||||||
if (item == NULL ) {
|
if (item == NULL ) {
|
||||||
return SDL_SetError("No such device");
|
return SDL_SetError("No such device");
|
||||||
|
Loading…
Reference in New Issue
Block a user