Fixed unused local variable warning in joystick source for Android.
This commit is contained in:
parent
9da82d88f2
commit
7297902ce0
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue