mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fix void return value on a void function
This commit is contained in:
parent
8428fcac18
commit
da17ec4f11
@ -274,7 +274,10 @@ void JoystickImpl::setLazyUpdates(bool status)
|
||||
void JoystickImpl::updateConnections()
|
||||
{
|
||||
if (directInput)
|
||||
return updateConnectionsDInput();
|
||||
{
|
||||
updateConnectionsDInput();
|
||||
return;
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < Joystick::Count; ++i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user