[geos-commits] [SCM] GEOS branch 3.9 updated. 1a3eb3f0a8a10278236dc19280a7f5249be4e75c

git at osgeo.org git at osgeo.org
Wed Oct 6 08:41:43 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, 3.9 has been updated
       via  1a3eb3f0a8a10278236dc19280a7f5249be4e75c (commit)
      from  64f6966f4a83076440be40dac9c0ff16adbc794f (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 1a3eb3f0a8a10278236dc19280a7f5249be4e75c
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 adf1a75..c5246b9 100644
--- a/src/operation/overlayng/EdgeNodingBuilder.cpp
+++ b/src/operation/overlayng/EdgeNodingBuilder.cpp
@@ -141,7 +141,7 @@ EdgeNodingBuilder::createEdges(std::vector<SegmentString*>* segStrings)
 bool
 EdgeNodingBuilder::hasEdgesFor(int 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