[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-commits
Subject:    [mapserver-commits] r11434 - trunk/mapserver
From:       svn () osgeo ! org
Date:       2011-03-31 14:47:48
Message-ID: 20110331144748.BDDB93903A1 () trac ! osgeo ! org
[Download RAW message or body]

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)

_______________________________________________
mapserver-commits mailing list
mapserver-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic