[geos-commits] r3435 - trunk/src/algorithm

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Jul 20 04:46:35 EDT 2011


Author: strk
Date: 2011-07-20 01:46:34 -0700 (Wed, 20 Jul 2011)
New Revision: 3435

Modified:
   trunk/src/algorithm/RobustDeterminant.cpp
Log:
Drop unused variable

Modified: trunk/src/algorithm/RobustDeterminant.cpp
===================================================================
--- trunk/src/algorithm/RobustDeterminant.cpp	2011-07-20 08:46:28 UTC (rev 3434)
+++ trunk/src/algorithm/RobustDeterminant.cpp	2011-07-20 08:46:34 UTC (rev 3435)
@@ -43,7 +43,6 @@
 	int sign=1;
 	double swap;
 	double k;
-	long count=0;
 
   // Protect against non-finite numbers
   if ( ISNAN(x1)   || ISNAN(y1)   || ISNAN(x2)   || ISNAN(y2) ||
@@ -185,7 +184,6 @@
 	*  all entries strictly positive   x1 <= x2 and y1 <= y2
 	*/
 	while (true) {
-		count=count+1;
 		k=std::floor(x2/x1);
 		x2=x2-k*x1;
 		y2=y2-k*y1;
@@ -275,16 +273,3 @@
 } // namespace geos.algorithm
 } // namespace geos
 
-/**********************************************************************
- * $Log$
- * Revision 1.10  2006/03/21 11:12:23  strk
- * Cleanups: headers inclusion and Log section
- *
- * Revision 1.9  2006/03/21 10:46:03  strk
- * streamlined header inclusion, put original copyright on top
- *
- * Revision 1.8  2006/02/19 19:46:49  strk
- * Packages <-> namespaces mapping for most GEOS internal code (uncomplete, but working). Dir-level libs for index/ subdirs.
- *
- **********************************************************************/
-



More information about the geos-commits mailing list