From: Peter Hutterer Date: Wed, 30 Oct 2019 00:43:18 +0000 (+1000) Subject: test: remove a useless assignment X-Git-Tag: 1.14.901~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f22580deb0e063936e83bfd7d54701e07efb85e;p=platform%2Fupstream%2Flibinput.git 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 --- 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);