[mapserver-commits] r12810 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Nov 27 04:48:35 EST 2011


Author: rouault
Date: 2011-11-27 01:48:34 -0800 (Sun, 27 Nov 2011)
New Revision: 12810

Modified:
   trunk/mapserver/mapprimitive.c
Log:
Fix compilation with MSVC (#3847)

Modified: trunk/mapserver/mapprimitive.c
===================================================================
--- trunk/mapserver/mapprimitive.c	2011-11-26 19:59:00 UTC (rev 12809)
+++ trunk/mapserver/mapprimitive.c	2011-11-27 09:48:34 UTC (rev 12810)
@@ -830,8 +830,8 @@
     double dx,dy;
     pointObj *point;
     double inv_cs = 1.0 / cellsize; /* invert and multiply much faster */
+    int ok = 0;
     if(shape->numlines == 0) return; /* nothing to transform */
-    int ok = 0;
 
     if(shape->type == MS_SHAPE_LINE) {
         /*



More information about the mapserver-commits mailing list