[mapserver-commits] r11655 - trunk/mapserver/mapscript/swiginc

svn at osgeo.org svn at osgeo.org
Thu May 5 10:36:27 EDT 2011


Author: tamas
Date: 2011-05-05 07:36:27 -0700 (Thu, 05 May 2011)
New Revision: 11655

Modified:
   trunk/mapserver/mapscript/swiginc/layer.i
Log:
Fixed the mapscript build issue

Modified: trunk/mapserver/mapscript/swiginc/layer.i
===================================================================
--- trunk/mapserver/mapscript/swiginc/layer.i	2011-05-05 13:34:38 UTC (rev 11654)
+++ trunk/mapserver/mapscript/swiginc/layer.i	2011-05-05 14:36:27 UTC (rev 11655)
@@ -219,8 +219,8 @@
     %newobject getResultsBounds;
     rectObj *getResultsBounds() 
     {
+        rectObj *bounds;
         if (!self->resultcache) return NULL;
-        rectObj *bounds;
         bounds = (rectObj *) malloc(sizeof(rectObj));
         MS_COPYRECT(bounds, &self->resultcache->bounds);
         return bounds;



More information about the mapserver-commits mailing list