[SCM] PostGIS branch master updated. 3.5.0-262-gd5932073b

git at osgeo.org git at osgeo.org
Thu Apr 10 11:53:29 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, master has been updated
       via  d5932073b467aae0cca2e3f156f5538ceae5a0d5 (commit)
      from  10b0e82e45aab19f78bd48194de1da02b3d64bae (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 d5932073b467aae0cca2e3f156f5538ceae5a0d5
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Apr 10 11:53:17 2025 -0700

    Silence MacOS clang warnings

diff --git a/raster/rt_pg/rtpg_gdal.c b/raster/rt_pg/rtpg_gdal.c
index f65c7631e..441d40cfb 100644
--- a/raster/rt_pg/rtpg_gdal.c
+++ b/raster/rt_pg/rtpg_gdal.c
@@ -1094,7 +1094,7 @@ Datum RASTER_GDALWarp(PG_FUNCTION_ARGS)
 
 #define gdalErrorTypesSize 17
 
-const char* const gdalErrorTypes[gdalErrorTypesSize] =
+static const char* const gdalErrorTypes[gdalErrorTypesSize] =
 {
     "None",
     "AppDefined",
diff --git a/raster/rt_pg/rtpostgis.c b/raster/rt_pg/rtpostgis.c
index a28c2aca1..fadaa9611 100644
--- a/raster/rt_pg/rtpostgis.c
+++ b/raster/rt_pg/rtpostgis.c
@@ -266,7 +266,7 @@ rt_pg_options(const char* varname)
 /*  GDAL allowed config options for VSI filesystems */
 /* ---------------------------------------------------------------- */
 
-stringlist_t *vsi_option_stringlist = NULL;
+static stringlist_t *vsi_option_stringlist = NULL;
 
 
 #if POSTGIS_GDAL_VERSION < 23
diff --git a/topology/postgis_topology.c b/topology/postgis_topology.c
index 9a16ad17f..6d1f52770 100644
--- a/topology/postgis_topology.c
+++ b/topology/postgis_topology.c
@@ -52,7 +52,7 @@
  */
 PG_MODULE_MAGIC;
 
-LWT_BE_IFACE* be_iface;
+static LWT_BE_IFACE* be_iface;
 
 /*
  * Private data we'll use for this backend
@@ -75,7 +75,7 @@ struct LWT_BE_DATA_T
   int topoLoadFailMessageFlavor; /* 0:sql, 1:AddPoint */
 };
 
-LWT_BE_DATA be_data;
+static LWT_BE_DATA be_data;
 
 struct LWT_BE_TOPOLOGY_T
 {
@@ -1521,7 +1521,7 @@ cb_getNodeWithinDistance2D(const LWT_BE_TOPOLOGY *topo,
     else
     {
       lwpgwarning("liblwgeom-topo invoked 'getNodeWithinDistance2D' "
-                  "backend callback with limit=%ld and no fields",
+                  "backend callback with limit=" UINT64_FORMAT " and no fields",
                   elems_requested);
       appendStringInfo(sql, "*");
     }

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

Summary of changes:
 raster/rt_pg/rtpg_gdal.c    | 2 +-
 raster/rt_pg/rtpostgis.c    | 2 +-
 topology/postgis_topology.c | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list