]> granicus.if.org Git - postgis/commitdiff
Add cnt declaration where missing.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 22 Sep 2008 22:59:47 +0000 (22:59 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 22 Sep 2008 22:59:47 +0000 (22:59 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2990 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgunparse.c

index 8d85a3a39de31242ba0536997165ea625a33f310..f0687ddafe75c06cd99742c0e99ab01db9a41d5c 100644 (file)
@@ -743,6 +743,7 @@ output_wkb_polygon_ring_collection(uchar* geom,outwkbfunc func)
 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);