mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 22:17:59 +00:00
Fixed warning about storing an unused value.
Found by buildbot.
This commit is contained in:
@@ -822,8 +822,6 @@ SDL_JoystickUpdate(void)
|
|||||||
if (joystick->ref_count <= 0) {
|
if (joystick->ref_count <= 0) {
|
||||||
SDL_JoystickClose(joystick);
|
SDL_JoystickClose(joystick);
|
||||||
}
|
}
|
||||||
|
|
||||||
joystick = joysticknext;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this needs to happen AFTER walking the joystick list above, so that any
|
/* this needs to happen AFTER walking the joystick list above, so that any
|
||||||
|
|||||||
Reference in New Issue
Block a user