Commit f5a60d1d authored by Peter Hutterer's avatar Peter Hutterer

test: shut up coverity warnings

Coverity claims they're used uninitialized which isn't true. The condition
that guards it's use also guards its initialization.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 7899a6cf
......@@ -841,8 +841,9 @@ START_TEST(proximity_has_axes)
struct libinput_tablet_tool *tool;
double x, y,
distance;
double last_x, last_y, last_distance,
last_tx, last_ty;
double last_x, last_y,
last_distance = 0.0,
last_tx = 0.0, last_ty = 0.0;
struct axis_replacement axes[] = {
{ ABS_DISTANCE, 10 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment