Fixed unused local variable warning in joystick source for Android.

Philipp Wiesemann 2013-12-24 20:00:58 +01:00
parent 28309c1d13
commit b97e077e47
1 changed files with 0 additions and 1 deletions

View File

@ -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");