}
LWCOLLECTION *
-lwcollection_construct_empty(int SRID, char hasZ, char hasM);
+lwcollection_construct_empty(int SRID, char hasz, char hasm)
{
LWCOLLECTION *ret;
ret->SRID = SRID;
ret->ngeoms = 0;
ret->geoms = NULL;
- ret->bbox = bbox;
+ ret->bbox = NULL;
return ret;
}
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;