From 053945034a8b63c3526b7d09a97b21ed0467eba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 10 Oct 2016 23:08:48 +0200 Subject: [PATCH] Fix uninitialised value in testpaint --- test/testpaint/intercept_2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testpaint/intercept_2.cpp b/test/testpaint/intercept_2.cpp index 534811d0e4..51e9d4f181 100644 --- a/test/testpaint/intercept_2.cpp +++ b/test/testpaint/intercept_2.cpp @@ -59,7 +59,7 @@ namespace Intercept2 call.height = -1; call.slope = -1; - support_height referenceSupport; + support_height referenceSupport = { 0 }; for (int i = 0; i < 9; i++) { if (positionsRemaining & segment_offsets[i]) {