[geos-commits] [SCM] GEOS branch main updated. 32602283fbaf0378f263045e342bd699bb14c735

git at osgeo.org git at osgeo.org
Thu Sep 23 16:49:16 PDT 2021


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, main has been updated
       via  32602283fbaf0378f263045e342bd699bb14c735 (commit)
      from  6c4b36cc2e58a8d031d46f1c96f35ad84edf5521 (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 32602283fbaf0378f263045e342bd699bb14c735
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Sep 23 16:49:11 2021 -0700

    Remove shadowed variable CI is unhappy about

diff --git a/src/triangulate/polygon/PolygonHoleJoiner.cpp b/src/triangulate/polygon/PolygonHoleJoiner.cpp
index c4afe1d..992e2b4 100644
--- a/src/triangulate/polygon/PolygonHoleJoiner.cpp
+++ b/src/triangulate/polygon/PolygonHoleJoiner.cpp
@@ -242,7 +242,7 @@ PolygonHoleJoiner::isJoinable(const Coordinate& holeCoord, const Coordinate& she
      * Since the line runs between a hole and the shell,
      * it is inside the polygon if it does not cross the polygon boundary.
      */
-    bool isJoinable = ! crossesPolygon(holeCoord, shellCoord);
+    bool bIsJoinable = ! crossesPolygon(holeCoord, shellCoord);
     /*
     //--- slow code for testing only
     LineString join = geomFact.createLineString(new Coordinate[] { holeCoord, shellCoord });
@@ -252,7 +252,7 @@ PolygonHoleJoiner::isJoinable(const Coordinate& holeCoord, const Coordinate& she
     }
     //Assert.isTrue(isJoinableSlow == isJoinable);
     */
-    return isJoinable;
+    return bIsJoinable;
 }
 
 

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

Summary of changes:
 src/triangulate/polygon/PolygonHoleJoiner.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list