Commit 552d5aeb authored by Michael Forney's avatar Michael Forney

Don't return expression in function returning void

This is a constraint violation in ISO C[0].

[0] http://port70.net/~nsz/c/c11/n1570.html#6.8.6.4p1Signed-off-by: Michael Forney's avatarMichael Forney <mforney@mforney.org>
parent 39c0d633
Pipeline #42929 passed with stages
in 3 minutes and 25 seconds
......@@ -1959,7 +1959,7 @@ open_restricted(struct libinput *libinput,
void
close_restricted(struct libinput *libinput, int fd)
{
return libinput->interface->close_restricted(fd, libinput->user_data);
libinput->interface->close_restricted(fd, libinput->user_data);
}
bool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment