Fixed warning about storing an unused value.
Found by buildbot.
This commit is contained in:
1 parent
d834c08ac7
commit
a7655d77d1
1 file changed
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user