[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-270-ge5ab4a2

git at osgeo.org git at osgeo.org
Tue Jul 6 03:08:15 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 "PostGIS".

The branch, main has been updated
       via  e5ab4a29ceabb077fe8cd89ddc4c170a9805f31a (commit)
      from  176689092ee63b221992ce888f318c1f3c7cf84a (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 e5ab4a29ceabb077fe8cd89ddc4c170a9805f31a
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Jul 6 12:07:32 2021 +0200

    Fix warning in debug build of topology

diff --git a/liblwgeom/lwgeom_topo.c b/liblwgeom/lwgeom_topo.c
index a336c6b..d4c9b04 100644
--- a/liblwgeom/lwgeom_topo.c
+++ b/liblwgeom/lwgeom_topo.c
@@ -5818,7 +5818,7 @@ _lwt_AddLine(LWT_TOPOLOGY* topo, LWLINE* line, double tol, int* nedges,
           ptarray_scroll_in_place(scrolled->points, &originalStartPoint);
         }
         else {
-          LWDEBUGG(1, scrolled, "Linemerged intersected input is not closed anymore");
+          LWDEBUGG(1, lwline_as_lwgeom(scrolled), "Linemerged intersected input is not closed anymore");
         }
       }
       else {
diff --git a/topology/postgis_topology.c b/topology/postgis_topology.c
index d196f2f..8e094c0 100644
--- a/topology/postgis_topology.c
+++ b/topology/postgis_topology.c
@@ -1258,7 +1258,7 @@ cb_getRingEdges(const LWT_BE_TOPOLOGY *topo, LWT_ELEMID edge, uint64_t *numelems
       }
       nextedge = DatumGetInt32(dat);
       POSTGIS_DEBUGF(1, "Last component in ring of edge %"
-                        LWTFMT_ELEMID " (%" LWTFMT_ELEMID ") has next_%s_edge %d",
+                        LWTFMT_ELEMID " (%d) has next_%s_edge %d",
                         edge, val, sidetext, nextedge);
       if ( nextedge != edge )
       {

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

Summary of changes:
 liblwgeom/lwgeom_topo.c     | 2 +-
 topology/postgis_topology.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list