]> granicus.if.org Git - postgis/commitdiff
Cleanup
authorSandro Santilli <strk@keybit.net>
Fri, 26 Nov 2004 14:56:13 +0000 (14:56 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 26 Nov 2004 14:56:13 +0000 (14:56 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1113 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwcollection.c

index dcdef6a07b2d5d1d0f8b294cf03639a48657c869..70739df640d5ee1f1f7a8e8f535f0186ae267604 100644 (file)
@@ -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; i<c1->ngeoms; i++)
        {
                if ( ! lwgeom_same(c1->geoms[i], c2->geoms[i]) )