From 05bec986819af2d06986e0f5cf2e5257e88c0cc9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 25 Jan 2016 10:15:58 +1000 Subject: [PATCH] touchpad: remove unused variable Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-gestures.c | 3 --- 1 file changed, 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) {