[SCM] PostGIS branch stable-3.5 updated. 3.5.2-36-g8a76f8da1

git at osgeo.org git at osgeo.org
Wed Apr 30 03:34:15 PDT 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, stable-3.5 has been updated
       via  8a76f8da1194e27e95094de5954bba8795b67bee (commit)
      from  20aaf8c86c324a4ee31d258d47fce6cb47aeb593 (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 8a76f8da1194e27e95094de5954bba8795b67bee
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Apr 28 11:08:30 2025 +0200

    Fix 'return' with a value, in function returning void warning

diff --git a/liblwgeom/topo/lwgeom_topo.c b/liblwgeom/topo/lwgeom_topo.c
index f419aa821..4643642bb 100644
--- a/liblwgeom/topo/lwgeom_topo.c
+++ b/liblwgeom/topo/lwgeom_topo.c
@@ -5199,7 +5199,7 @@ _lwt_GetEqualEdge( LWT_TOPOLOGY *topo, LWLINE *edge, int *forward )
  * TODO: check that the motion range does not contain any node
  *
  */
-static void
+static int
 _lwt_SnapEdge_checkMotion( LWT_TOPOLOGY* topo, const LWCOLLECTION *splitC, const LWT_ISO_EDGE *edge, LWT_ISO_EDGE *existingEdge, const LWT_NODE_EDGES *splitNodeEdges )
 {
   // build the motion range shape: splitC->geoms[0] + splitC->geoms[1] - edge->geom
@@ -5280,6 +5280,8 @@ _lwt_SnapEdge_checkMotion( LWT_TOPOLOGY* topo, const LWCOLLECTION *splitC, const
   if ( motionPolyG ) GEOSGeom_destroy(motionPolyG);
 
   lwgeom_free(motionPoly);
+
+  return 0;
 }
 
 static int

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

Summary of changes:
 liblwgeom/topo/lwgeom_topo.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list