From f2c483436ffb4802b29935efdd60353c4c6939dc Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 11 Oct 2004 09:46:42 +0000 Subject: [PATCH] Fixed bug making it unbuildable. git-svn-id: http://svn.osgeo.org/postgis/trunk@976 b70326c6-7e19-0410-871a-916f4a2858ee --- lwgeom/lwcollection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lwgeom/lwcollection.c b/lwgeom/lwcollection.c index b0db74e05..61e7bf0cd 100644 --- a/lwgeom/lwcollection.c +++ b/lwgeom/lwcollection.c @@ -47,7 +47,7 @@ lwcollection_construct(unsigned int type, int SRID, BOX2DFLOAT4 *bbox, } LWCOLLECTION * -lwcollection_construct_empty(int SRID, char hasZ, char hasM); +lwcollection_construct_empty(int SRID, char hasz, char hasm) { LWCOLLECTION *ret; @@ -57,7 +57,7 @@ lwcollection_construct_empty(int SRID, char hasZ, char hasM); ret->SRID = SRID; ret->ngeoms = 0; ret->geoms = NULL; - ret->bbox = bbox; + ret->bbox = NULL; return ret; } @@ -295,7 +295,7 @@ lwcollection_segmentize2d(LWCOLLECTION *col, double dist) char lwcollection_same(const LWCOLLECTION *c1, const LWCOLLECTION *c2) { - unsigned int i,j; + unsigned int i; if ( TYPE_GETTYPE(c1->type) != TYPE_GETTYPE(c2->type) ) return 0; if ( c1->ngeoms != c2->ngeoms ) return 0; -- 2.40.0