[SCM] PostGIS branch stable-3.4 updated. 3.4.4-73-geaf48fc0d

git at osgeo.org git at osgeo.org
Tue Jan 27 13:29:28 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.4 has been updated
       via  eaf48fc0d4fcc651fdc924b4b0c732bfba00c22b (commit)
      from  097b5d7470487e53be58fcb21982329f1b69e5e6 (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 eaf48fc0d4fcc651fdc924b4b0c732bfba00c22b
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