From f97c7d0cafab76d2ff45941acb15942393bfc4ac Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 21 Mar 2021 15:16:35 +0100 Subject: [PATCH] Initialize variables --- maplabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maplabel.c b/maplabel.c index ab1f2258f7..f061759c70 100644 --- a/maplabel.c +++ b/maplabel.c @@ -597,7 +597,7 @@ static inline int testSegmentLabelBBoxIntersection(const rectObj *leaderbbox, co } } } else { - pointObj tp1,tp2; + pointObj tp1 = {0},tp2 = {0}; tp1.x = test->bbox.minx; tp1.y = test->bbox.miny; tp2.x = test->bbox.minx;