mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 09:58:22 +02:00
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 <peter.hutterer@who-t.net>
This commit is contained in:
parent
7899a6cf8d
commit
f5a60d1d82
1 changed files with 3 additions and 2 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue