From: Sandro Santilli Date: Fri, 26 Nov 2004 14:56:13 +0000 (+0000) Subject: Cleanup X-Git-Tag: pgis_1_0_0RC1~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e92a34519a06430f287aee48aa51860a36e451fa;p=postgis Cleanup git-svn-id: http://svn.osgeo.org/postgis/trunk@1113 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/lwcollection.c b/lwgeom/lwcollection.c index dcdef6a07..70739df64 100644 --- a/lwgeom/lwcollection.c +++ b/lwgeom/lwcollection.c @@ -297,11 +297,13 @@ lwcollection_same(const LWCOLLECTION *c1, const LWCOLLECTION *c2) { unsigned int i; +#if DEBUG_CALLS + lwnotice("lwcollection_same called"); +#endif // DEBUG_CALLS + if ( TYPE_GETTYPE(c1->type) != TYPE_GETTYPE(c2->type) ) return 0; if ( c1->ngeoms != c2->ngeoms ) return 0; - lwnotice("lwcollection_same called"); - for (i=0; ingeoms; i++) { if ( ! lwgeom_same(c1->geoms[i], c2->geoms[i]) )