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.4p1

Signed-off-by: Michael Forney <mforney@mforney.org>
This commit is contained in:
Michael Forney 2019-06-15 14:31:03 -07:00
parent 39c0d633f7
commit 552d5aeba5

View file

@ -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