[SCM] PostGIS branch master updated. 3.6.0rc2-322-g29b746efa

git at osgeo.org git at osgeo.org
Tue Jan 27 13:29:09 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, master has been updated
       via  29b746efad5af45d6cd85fba71a29611b12d137f (commit)
      from  46bf883788e74c678f6eaa13df7e63e04d790165 (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 29b746efad5af45d6cd85fba71a29611b12d137f
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 9f7b46f5f..bee14bd15 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