From 595d870449d146253dd2fa0d19afcce278e8ee7a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 12 Feb 2021 07:19:40 +1000 Subject: [PATCH] test: init an array to zero to silence scan-build Signed-off-by: Peter Hutterer --- test/test-tablet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-tablet.c b/test/test-tablet.c index c875d0c8..dce50ca0 100644 --- a/test/test-tablet.c +++ b/test/test-tablet.c @@ -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[] = {