[mapserver-commits] r11419 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Mar 31 07:48:35 EDT 2011
Author: tbonfort
Date: 2011-03-31 04:48:35 -0700 (Thu, 31 Mar 2011)
New Revision: 11419
Modified:
trunk/mapserver/mapgeomutil.cpp
Log:
fix compiler warning
Modified: trunk/mapserver/mapgeomutil.cpp
===================================================================
--- trunk/mapserver/mapgeomutil.cpp 2011-03-31 10:24:38 UTC (rev 11418)
+++ trunk/mapserver/mapgeomutil.cpp 2011-03-31 11:48:35 UTC (rev 11419)
@@ -206,7 +206,7 @@
mapserver::conv_clipper<polygon_adaptor,mapserver::conv_stroke<mapserver::path_storage> > clipper(polygons,stroke, mapserver::clipper_and);
clipper.rewind(0);
- double x,y;
+ double x=0,y=0;
unsigned int cmd, prevCmd=-1;
while((cmd = clipper.vertex(&x,&y)) != mapserver::path_cmd_stop) {
switch(cmd) {
More information about the mapserver-commits
mailing list