projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03a93c
)
evdev: Silence warning
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 2 Dec 2011 11:39:02 +0000
(06:39 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 2 Dec 2011 11:39:13 +0000
(06:39 -0500)
compositor/evdev.c
patch
|
blob
|
history
diff --git
a/compositor/evdev.c
b/compositor/evdev.c
index
8233f05
..
1755a95
100644
(file)
--- a/
compositor/evdev.c
+++ b/
compositor/evdev.c
@@
-224,7
+224,7
@@
evdev_input_device_data(int fd, uint32_t mask, void *data)
struct input_event ev[8], *e, *end;
int len;
struct evdev_motion_accumulator accumulator;
- uint32_t time;
+ uint32_t time
= 0
;
ec = device->master->base.compositor;
if (!ec->focus)
@@
-267,8
+267,7
@@
evdev_input_device_data(int fd, uint32_t mask, void *data)
}
}
- evdev_flush_motion(&device->master->base.input_device, time,
- &accumulator);
+ evdev_flush_motion(&device->master->base.input_device, time, &accumulator);
return 1;
}