Fixed unused local variable warning in joystick source for Android.

This commit is contained in:
Philipp Wiesemann committed 2013-12-24 20:00:58 +01:00
1 parent 28309c1d13
commit b97e077e47
1 file changed
-1
-1
View File
@@ -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");