From f41d829cf4e255a3c611722b6433a16b4cddd5ba Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 10 Jul 2017 17:51:23 +0000 Subject: [PATCH] Initialize another variable otherwise used uninitialized when dumping 0-rows tables or queries git-svn-id: http://svn.osgeo.org/postgis/trunk@15482 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/pgsql2shp-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/pgsql2shp-core.c b/loader/pgsql2shp-core.c index b0774de7e..3d2d0e598 100644 --- a/loader/pgsql2shp-core.c +++ b/loader/pgsql2shp-core.c @@ -1156,6 +1156,7 @@ ShpDumperCreate(SHPDUMPERCONFIG *config) /* Set any state defaults */ state->conn = NULL; state->outtype = 's'; + state->outshptype = 0; state->geom_oid = 0; state->geog_oid = 0; state->schema = NULL; -- 2.50.1