summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-01-25 10:15:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-01-25 11:31:37 +1000
commit05bec986819af2d06986e0f5cf2e5257e88c0cc9 (patch)
tree15a0f6ce96f61d415ded9d977d930259fdc7d457 /src
parentf0fa09c73f2cc782c6dc0d0d399fbf3d2183182d (diff)
touchpad: remove unused variable
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev-mt-touchpad-gestures.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evdev-mt-touchpad-gestures.c b/src/evdev-mt-touchpad-gestures.c
index 6c489c36..5aa256fd 100644
--- a/src/evdev-mt-touchpad-gestures.c
+++ b/src/evdev-mt-touchpad-gestures.c
@@ -578,13 +578,10 @@ tp_gesture_handle_state(struct tp_dispatch *tp, uint64_t time)
{
unsigned int active_touches = 0;
struct tp_touch *t;
- int i = 0;
tp_for_each_touch(tp, t) {
if (tp_touch_active(tp, t))
active_touches++;
-
- i++;
}
if (active_touches != tp->gesture.finger_count) {