mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +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