Fixed warning about storing an unused value.

Found by buildbot.
This commit is contained in:
Philipp Wiesemann 2016-11-30 23:31:23 +01:00
parent 428b0082bf
commit a5cd9d9fa1

View file

@ -822,8 +822,6 @@ SDL_JoystickUpdate(void)
if (joystick->ref_count <= 0) {
SDL_JoystickClose(joystick);
}
joystick = joysticknext;
}
/* this needs to happen AFTER walking the joystick list above, so that any