[geos-commits] r3408 - branches/3.3/src/algorithm

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Jul 5 05:44:29 EDT 2011


Author: strk
Date: 2011-07-05 02:44:29 -0700 (Tue, 05 Jul 2011)
New Revision: 3408

Modified:
   branches/3.3/src/algorithm/MinimumDiameter.cpp
Log:
Initialize MinimumDiamiter::minPtIndex in the constructor, to make static analisys tools happier


Modified: branches/3.3/src/algorithm/MinimumDiameter.cpp
===================================================================
--- branches/3.3/src/algorithm/MinimumDiameter.cpp	2011-07-05 09:44:19 UTC (rev 3407)
+++ branches/3.3/src/algorithm/MinimumDiameter.cpp	2011-07-05 09:44:29 UTC (rev 3408)
@@ -64,6 +64,7 @@
 {
 	minBaseSeg=new LineSegment();
 	minWidthPt=NULL;
+	minPtIndex=0;
 	minWidth=0.0;
 	inputGeom=newInputGeom;
 	isConvex=false;



More information about the geos-commits mailing list