[mapserver-commits] r11065 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Mar 4 05:28:47 EST 2011
Author: tamas
Date: 2011-03-04 02:28:47 -0800 (Fri, 04 Mar 2011)
New Revision: 11065
Modified:
trunk/mapserver/mapcluster.c
Log:
Some warnings eliminated
Modified: trunk/mapserver/mapcluster.c
===================================================================
--- trunk/mapserver/mapcluster.c 2011-03-04 06:42:07 UTC (rev 11064)
+++ trunk/mapserver/mapcluster.c 2011-03-04 10:28:47 UTC (rev 11065)
@@ -893,7 +893,7 @@
}
/* rebuild the clusters according to the current extent */
-int RebuildClusters(layerObj *layer, rectObj rect)
+int RebuildClusters(layerObj *layer)
{
mapObj* map;
layerObj* srcLayer;
@@ -1056,8 +1056,10 @@
while (layerinfo->root)
{
+#ifdef TESTCOUNT
int n;
double avgx, avgy;
+#endif
/* pick up the best cluster from the tree and do the finalization */
/* the initial rank must be big enough */
@@ -1244,7 +1246,7 @@
int msClusterLayerWhichShapes(layerObj *layer, rectObj rect)
{
/* rebuild the cluster database */
- return RebuildClusters(layer, rect);
+ return RebuildClusters(layer);
}
static int prepareShape(layerObj* layer, msClusterLayerInfo* layerinfo, clusterInfo* current, shapeObj* shape)
More information about the mapserver-commits
mailing list