projects
/
platform
/
upstream
/
libevdev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a27abf
)
test: ignore a failure to UI_DEV_DESTROY the device
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 3 Mar 2016 21:17:18 +0000
(07:17 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 3 Mar 2016 21:26:53 +0000
(07:26 +1000)
Coverity complains about it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
test/test-common-uinput.c
patch
|
blob
|
history
diff --git
a/test/test-common-uinput.c
b/test/test-common-uinput.c
index
617b8e2
..
48200b6
100644
(file)
--- a/
test/test-common-uinput.c
+++ b/
test/test-common-uinput.c
@@
-113,7
+113,7
@@
uinput_device_free(struct uinput_device *dev)
return;
if (dev->uinput_fd != -1) {
- ioctl(dev->uinput_fd, UI_DEV_DESTROY, NULL);
+
(void)
ioctl(dev->uinput_fd, UI_DEV_DESTROY, NULL);
close(dev->uinput_fd);
}
if (dev->dev_fd != -1)