[mapserver-commits] r11434 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Mar 31 10:47:48 EDT 2011


Author: tbonfort
Date: 2011-03-31 07:47:48 -0700 (Thu, 31 Mar 2011)
New Revision: 11434

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/mapcluster.c
Log:
removed some debugging code producing a compiler warning



Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2011-03-31 14:46:41 UTC (rev 11433)
+++ trunk/mapserver/HISTORY.TXT	2011-03-31 14:47:48 UTC (rev 11434)
@@ -14,6 +14,7 @@
 
 Current Version (SVN trunk): 
 ---------------------------- 
+- remove some compiler warnings
 
 - fix incorrect scaling of hatch symbol spacing (#3773)
 

Modified: trunk/mapserver/mapcluster.c
===================================================================
--- trunk/mapserver/mapcluster.c	2011-03-31 14:46:41 UTC (rev 11433)
+++ trunk/mapserver/mapcluster.c	2011-03-31 14:47:48 UTC (rev 11434)
@@ -825,6 +825,7 @@
 }
 
 /* update the parameters from the related shapes */
+#ifndef NDEBUG
 static void UpdateClusterParameters(msClusterLayerInfo* layerinfo, clusterTreeNode *node, clusterInfo *shape)
 {
     int i;
@@ -895,6 +896,7 @@
     /* returns true if this node contains only valid clusters */
     return MS_TRUE;
 }
+#endif
 
 /* rebuild the clusters according to the current extent */
 int RebuildClusters(layerObj *layer)



More information about the mapserver-commits mailing list