[SCM] PostGIS branch stable-3.5 updated. 3.5.4-18-g7f73a34b1

git at osgeo.org git at osgeo.org
Tue Jan 27 13:29:23 PST 2026


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  7f73a34b1a5ee355d011c8bcb6b0d6faf5e561cc (commit)
      from  248bfa21a0fd0091eaa883455d5c7732b5ef882d (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 7f73a34b1a5ee355d011c8bcb6b0d6faf5e561cc
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Jan 27 13:29:04 2026 -0800

    Fix mixed declarations mistake

diff --git a/postgis/gserialized_typmod.c b/postgis/gserialized_typmod.c
index 7ecd8617e..2c9f64b56 100644
--- a/postgis/gserialized_typmod.c
+++ b/postgis/gserialized_typmod.c
@@ -138,9 +138,9 @@ GSERIALIZED* postgis_valid_typmod(GSERIALIZED *gser, int32_t typmod)
 	if ( typmod_type == POINTTYPE && geom_type == MULTIPOINTTYPE &&
 	     gserialized_is_empty(gser) )
 	{
+		bool is_geodetic = gserialized_is_geodetic(gser);
 		LWPOINT *empty_point = lwpoint_construct_empty(geom_srid, geom_z, geom_m);
 		geom_type = POINTTYPE;
-		bool is_geodetic = gserialized_is_geodetic(gser);
 		pfree(gser);
 		if ( is_geodetic )
 			gser = geography_serialize(lwpoint_as_lwgeom(empty_point));

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

Summary of changes:
 postgis/gserialized_typmod.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list