From 2f22580deb0e063936e83bfd7d54701e07efb85e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 30 Oct 2019 10:43:18 +1000 Subject: [PATCH] test: remove a useless assignment copy/paste error that makes coverity unhappy. This is the code to correctly release all touches and the buttons have already been processed above - no need to reassign here. Signed-off-by: Peter Hutterer --- test/test-touchpad-buttons.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test-touchpad-buttons.c b/test/test-touchpad-buttons.c index 907d12bc..5dc11571 100644 --- a/test/test-touchpad-buttons.c +++ b/test/test-touchpad-buttons.c @@ -1037,7 +1037,6 @@ START_TEST(touchpad_clickfinger_click_drag) } else { litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0); } - button = BTN_MIDDLE; } litest_touch_up(dev, 0);