Fix void return value on a void function

This commit is contained in:
Lukas Dürrenberger 2024-06-12 18:30:14 +02:00 committed by Chris Thrasher
parent 8428fcac18
commit da17ec4f11

View File

@ -274,7 +274,10 @@ void JoystickImpl::setLazyUpdates(bool status)
void JoystickImpl::updateConnections() void JoystickImpl::updateConnections()
{ {
if (directInput) if (directInput)
return updateConnectionsDInput(); {
updateConnectionsDInput();
return;
}
for (unsigned int i = 0; i < Joystick::Count; ++i) for (unsigned int i = 0; i < Joystick::Count; ++i)
{ {