[postgis-tickets] r15482 - Initialize another variable
Sandro Santilli
strk at kbt.io
Mon Jul 10 10:51:23 PDT 2017
Author: strk
Date: 2017-07-10 10:51:23 -0700 (Mon, 10 Jul 2017)
New Revision: 15482
Modified:
trunk/loader/pgsql2shp-core.c
Log:
Initialize another variable
otherwise used uninitialized when dumping 0-rows tables or queries
Modified: trunk/loader/pgsql2shp-core.c
===================================================================
--- trunk/loader/pgsql2shp-core.c 2017-07-10 17:51:13 UTC (rev 15481)
+++ trunk/loader/pgsql2shp-core.c 2017-07-10 17:51:23 UTC (rev 15482)
@@ -1156,6 +1156,7 @@
/* Set any state defaults */
state->conn = NULL;
state->outtype = 's';
+ state->outshptype = 0;
state->geom_oid = 0;
state->geog_oid = 0;
state->schema = NULL;
More information about the postgis-tickets
mailing list