]> granicus.if.org Git - postgis/commitdiff
Quite warning for robe
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 24 Jul 2015 12:26:58 +0000 (12:26 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 24 Jul 2015 12:26:58 +0000 (12:26 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13852 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/lwgeom.c

index 2aeccc228d6c940094dc38006c2ad8a37e5dbdfb..04812494a2ab6f1bff0ec2b54b94976349e14a70 100644 (file)
@@ -1996,7 +1996,6 @@ lwgeom_subdivide(const LWGEOM *geom, int maxvertices)
        static int minmaxvertices = 8;
        LWCOLLECTION *col;
        GBOX clip = *(lwgeom_get_bbox(geom));
-       int nparts;
 
        if ( maxvertices < minmaxvertices )
        {
@@ -2004,8 +2003,7 @@ lwgeom_subdivide(const LWGEOM *geom, int maxvertices)
        }
 
        col = lwcollection_construct_empty(COLLECTIONTYPE, geom->srid, lwgeom_has_z(geom), lwgeom_has_m(geom));
-       nparts = lwgeom_subdivide_recursive(geom, maxvertices, startdepth, col, &clip);
-       LWDEBUGF(3, "%s: chopped input geometry into %d parts", __func__, nparts);
+       lwgeom_subdivide_recursive(geom, maxvertices, startdepth, col, &clip);
        lwgeom_set_srid((LWGEOM*)col, geom->srid);
        return col;
 }