[postgis-commits] svn - r2990 - trunk/liblwgeom

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Mon Sep 22 15:59:47 PDT 2008


Author: pramsey
Date: 2008-09-22 15:59:47 -0700 (Mon, 22 Sep 2008)
New Revision: 2990

Modified:
   trunk/liblwgeom/lwgunparse.c
Log:
Add cnt declaration where missing.


Modified: trunk/liblwgeom/lwgunparse.c
===================================================================
--- trunk/liblwgeom/lwgunparse.c	2008-09-22 17:55:30 UTC (rev 2989)
+++ trunk/liblwgeom/lwgunparse.c	2008-09-22 22:59:47 UTC (rev 2990)
@@ -743,6 +743,7 @@
 uchar *
 output_wkb_polygon_collection(uchar* geom)
 {
+	int cnt = read_int(&geom);
 	LWDEBUGF(2, "output_wkb_polygon_collection: %d iterations loop", cnt);
 
 	return output_wkb_polygon_ring_collection(geom,output_wkb_point); 



More information about the postgis-commits mailing list