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:
8011d99
)
fallback: fix a coverity warning
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 24 Oct 2019 04:10:47 +0000
(14:10 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 24 Oct 2019 04:10:47 +0000
(14:10 +1000)
Value stored to 'rect' during its initialization is never read
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-fallback.c
patch
|
blob
|
history
diff --git
a/src/evdev-fallback.c
b/src/evdev-fallback.c
index a40421f07e9c0c48859ce42acf585a8e47c53fb2..651f0111c330feb8c5834ca9af32d9574e619724 100644
(file)
--- a/
src/evdev-fallback.c
+++ b/
src/evdev-fallback.c
@@
-1225,7
+1225,7
@@
fallback_interface_update_rect(struct evdev_dispatch *evdev_dispatch,
uint64_t time)
{
struct fallback_dispatch *dispatch = fallback_dispatch(evdev_dispatch);
- struct device_coord_rect rect
= {0}
;
+ struct device_coord_rect rect;
assert(phys_rect);