mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-31 00:40:07 +01:00
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:
parent
39c0d633f7
commit
552d5aeba5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue