test: init an array to zero to silence scan-build

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2021-02-12 07:19:40 +10:00
parent 6c32f78020
commit 595d870449

View file

@ -5996,7 +5996,7 @@ START_TEST(tablet_smoothing)
double x, y;
struct point {
double x, y;
} coordinates[100];
} coordinates[100] = {0};
size_t npoints = 0;
size_t idx = 0;
struct axis_replacement axes[] = {