projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c0d63
)
Don't return expression in function returning void
author
Michael Forney
<mforney@mforney.org>
Sat, 15 Jun 2019 21:31:03 +0000
(14:31 -0700)
committer
Michael Forney
<mforney@mforney.org>
Sat, 15 Jun 2019 22:24:10 +0000
(15:24 -0700)
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>
src/libinput.c
patch
|
blob
|
history
diff --git
a/src/libinput.c
b/src/libinput.c
index
896fde7
..
c0cd2fa
100644
(file)
--- a/
src/libinput.c
+++ b/
src/libinput.c
@@
-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