[SCM] PostGIS branch master updated. 3.5.0-210-gc30f3237b
git at osgeo.org
git at osgeo.org
Thu Feb 13 13:01:02 PST 2025
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, master has been updated
via c30f3237b30c19278b534f654bf211144868df39 (commit)
from 88cc93b4cab18434bce6770fab6b007c3e2a7d45 (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 c30f3237b30c19278b534f654bf211144868df39
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Feb 13 13:00:09 2025 -0800
Fix misassignment of result in _lwt_HealEdges
From Maxim Korotkov
diff --git a/liblwgeom/topo/lwgeom_topo.c b/liblwgeom/topo/lwgeom_topo.c
index 94b220f6e..54cf8c399 100644
--- a/liblwgeom/topo/lwgeom_topo.c
+++ b/liblwgeom/topo/lwgeom_topo.c
@@ -4773,7 +4773,7 @@ _lwt_HealEdges( LWT_TOPOLOGY* topo, LWT_ELEMID eid1, LWT_ELEMID eid2,
return -1;
}
if ( ! modEdge ) {
- i = lwt_be_deleteEdges(topo, e1, LWT_COL_EDGE_EDGE_ID);
+ result = lwt_be_deleteEdges(topo, e1, LWT_COL_EDGE_EDGE_ID);
if (result == -1)
{
_lwt_release_edges(edges, nedges);
@@ -4785,7 +4785,7 @@ _lwt_HealEdges( LWT_TOPOLOGY* topo, LWT_ELEMID eid1, LWT_ELEMID eid2,
_lwt_release_edges(edges, nedges);
/* delete the common node */
- i = lwt_be_deleteNodesById( topo, &commonnode, 1 );
+ result = lwt_be_deleteNodesById( topo, &commonnode, 1 );
if (result == -1)
{
PGTOPO_BE_ERROR();
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/topo/lwgeom_topo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list