[geos-commits] [SCM] GEOS branch master updated. 893eaca5c492856535f7a0619f426cd868bb1aca

git at osgeo.org git at osgeo.org
Thu Nov 29 07:23:47 PST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  893eaca5c492856535f7a0619f426cd868bb1aca (commit)
      from  53fad1190822283ab7a166d5e5f7e03c387f5223 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 893eaca5c492856535f7a0619f426cd868bb1aca
Author: Daniel Baston <dbaston at gmail.com>
Date:   Thu Nov 29 10:23:27 2018 -0500

    Resolve unused value warning

diff --git a/src/operation/overlay/PolygonBuilder.cpp b/src/operation/overlay/PolygonBuilder.cpp
index 3057ab5..f46bd52 100644
--- a/src/operation/overlay/PolygonBuilder.cpp
+++ b/src/operation/overlay/PolygonBuilder.cpp
@@ -331,7 +331,6 @@ PolygonBuilder::findEdgeRingContaining(EdgeRing *testEr,
 {
 	LinearRing *testRing=testEr->getLinearRing();
 	const Envelope *testEnv=testRing->getEnvelopeInternal();
-	Coordinate testPt=testRing->getCoordinateN(0);
 	EdgeRing *minShell=nullptr;
 	const Envelope *minShellEnv=nullptr;
 
@@ -346,7 +345,7 @@ PolygonBuilder::findEdgeRingContaining(EdgeRing *testEr,
 		if (!tryShellEnv->contains(testEnv)) continue;
 
 		const CoordinateSequence *tsrcs = tryShellRing->getCoordinatesRO();
-		testPt = operation::polygonize::EdgeRing::ptNotInList(testRing->getCoordinatesRO(), tsrcs);
+		Coordinate testPt = operation::polygonize::EdgeRing::ptNotInList(testRing->getCoordinatesRO(), tsrcs);
 		bool isContained=false;
 
 		if(CGAlgorithms::isPointInRing(testPt, tsrcs))

-----------------------------------------------------------------------

Summary of changes:
 src/operation/overlay/PolygonBuilder.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list