[geos-commits] [SCM] GEOS branch main updated. f5df3ec15794cbabf0486c681c5ae9d8fe6f47a0

git at osgeo.org git at osgeo.org
Wed Oct 6 08:41:26 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  f5df3ec15794cbabf0486c681c5ae9d8fe6f47a0 (commit)
      from  1e272a45ca8d660802e0c4118ba1047434d4428b (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 f5df3ec15794cbabf0486c681c5ae9d8fe6f47a0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Oct 6 08:41:22 2021 -0700

    Remove redundant assertion

diff --git a/src/operation/overlayng/EdgeNodingBuilder.cpp b/src/operation/overlayng/EdgeNodingBuilder.cpp
index f4ba4ab..478b62b 100644
--- a/src/operation/overlayng/EdgeNodingBuilder.cpp
+++ b/src/operation/overlayng/EdgeNodingBuilder.cpp
@@ -142,7 +142,7 @@ EdgeNodingBuilder::createEdges(std::vector<SegmentString*>* segStrings)
 bool
 EdgeNodingBuilder::hasEdgesFor(uint8_t geomIndex) const
 {
-    assert(geomIndex >= 0 && geomIndex < 2);
+    assert(geomIndex < 2);
     return hasEdges[geomIndex];
 }
 

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

Summary of changes:
 src/operation/overlayng/EdgeNodingBuilder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list