mirror of
https://github.com/glfw/glfw.git
synced 2025-10-02 21:00:57 +00:00
minor cleanup
This commit is contained in:
parent
96d7b9acf4
commit
7734040b22
@ -158,7 +158,6 @@ static void initJoystickForceFeedback(_GLFWjoystickLinux *linjs)
|
||||
if (ioctl(linjs->fd, EVIOCSFF, effect) < 0)
|
||||
{
|
||||
free(effect);
|
||||
return;
|
||||
} else {
|
||||
linjs->rumble = effect;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user