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:
3f34902
)
touchpad: Silence -Wmaybe-uninitialized compiler warning
author
Jonas Ådahl
<jadahl@gmail.com>
Fri, 18 Apr 2014 06:43:14 +0000
(08:43 +0200)
committer
Jonas Ådahl
<jadahl@gmail.com>
Tue, 22 Apr 2014 22:07:40 +0000
(
00:07
+0200)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/evdev-mt-touchpad.c
patch
|
blob
|
history
diff --git
a/src/evdev-mt-touchpad.c
b/src/evdev-mt-touchpad.c
index bbbd8f39496b8fdd56201cbe22fe4558ce6c398a..63553643a5f18d78295e022484c13ba3d493a13a 100644
(file)
--- a/
src/evdev-mt-touchpad.c
+++ b/
src/evdev-mt-touchpad.c
@@
-152,7
+152,7
@@
tp_get_touch(struct tp_dispatch *tp, unsigned int slot)
static inline void
tp_begin_touch(struct tp_dispatch *tp, struct tp_touch *t)
{
- struct tp_touch *tmp;
+ struct tp_touch *tmp
= NULL
;
if (t->state != TOUCH_UPDATE) {
tp_motion_history_reset(t);