[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.1-27-g977f7eb

git at osgeo.org git at osgeo.org
Fri Jul 10 04:40:17 PDT 2020


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 "PostGIS".

The branch, stable-3.0 has been updated
       via  977f7ebf425a0f5d0c4a5d41abb76cf4f27a8bde (commit)
      from  2d89dabd2f2b561fbc0e95b1ed12ee8487ef6271 (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 977f7ebf425a0f5d0c4a5d41abb76cf4f27a8bde
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Jul 10 13:38:42 2020 +0200

    Remove useless duplicated call in ST_ChangeEdgeGeom

diff --git a/NEWS b/NEWS
index 39ad4fd..7557a14 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ PostGIS 3.0.2
 2020/XX/XX
 
 * Bug Fixes and Enhancements *
+  - Remove useless duplicated call in ST_ChangeEdgeGeom (Sandro Santilli)
   - #4709, Fix crash in adding edge to corrupted topology, (Sandro Santilli)
   - Handle non-closed edge rings by human readable error (Sandro Santilli)
   - #4706, Fix crash in ST_ChangeEdgeGeom on corrupted topology (Sandro Santilli)
diff --git a/liblwgeom/lwgeom_topo.c b/liblwgeom/lwgeom_topo.c
index 652f7da..a27e628 100644
--- a/liblwgeom/lwgeom_topo.c
+++ b/liblwgeom/lwgeom_topo.c
@@ -3394,9 +3394,6 @@ lwt_ChangeEdgeGeom(LWT_TOPOLOGY* topo, LWT_ELEMID edge_id, LWLINE *geom)
    * Check edge adjacency after
    */
   edgeend span_post, epan_post;
-  res = _lwt_InitEdgeEndByLine(&span_post, &epan_post, geom, &p1, &p2);
-  if (res)
-	  return -1; /* lwerror should have been raised */
   /* initialize epan_post.myaz and epan_post.myaz */
   res = _lwt_InitEdgeEndByLine(&span_post, &epan_post, geom, &p1, &p2);
   if (res)

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

Summary of changes:
 NEWS                    | 1 +
 liblwgeom/lwgeom_topo.c | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list