From 789d0d96a57b6cefab42c8bcd594229f46cb7189 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Harrtell?= Date: Wed, 17 May 2017 18:18:17 +0000 Subject: [PATCH] ST_AsMVT Forgot to initialize to NULL git-svn-id: http://svn.osgeo.org/postgis/trunk@15394 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/mvt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgis/mvt.c b/postgis/mvt.c index 2aad7bedd..2711837d4 100644 --- a/postgis/mvt.c +++ b/postgis/mvt.c @@ -633,7 +633,7 @@ LWGEOM *mvt_geom(LWGEOM *lwgeom, GBOX *gbox, uint32_t extent, uint32_t buffer, bool clip_geom) { POSTGIS_DEBUG(2, "mvt_geom called"); - LWGEOM *lwgeom_out; + LWGEOM *lwgeom_out = NULL; double width = gbox->xmax - gbox->xmin; double height = gbox->ymax - gbox->ymin; double resx = width / extent; -- 2.50.1