[postgis-tickets] [SCM] PostGIS branch stable-3.3 updated. 3.3.3-26-gdf8828afa

git at osgeo.org git at osgeo.org
Wed Jul 12 13:00:32 PDT 2023


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.3 has been updated
       via  df8828aface3eefa73ebc554f2ad66e0129050ab (commit)
      from  6aa0f6be9fff0490600c67121ee8fcb02ec27426 (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 df8828aface3eefa73ebc554f2ad66e0129050ab
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Jul 12 12:56:30 2023 -0700

    Remove shadowed variable warning

diff --git a/postgis/gserialized_spgist_nd.c b/postgis/gserialized_spgist_nd.c
index 742478308..fe69f3993 100644
--- a/postgis/gserialized_spgist_nd.c
+++ b/postgis/gserialized_spgist_nd.c
@@ -375,10 +375,10 @@ PGDLLEXPORT Datum gserialized_spgist_picksplit_nd(PG_FUNCTION_ARGS)
 	 */
 	for (tuple = 0; tuple < in->nTuples; tuple++)
 	{
-		GIDX *box = (GIDX *)DatumGetPointer(in->datums[tuple]);
-		uint16_t octant = getOctant(centroid, box);
+		GIDX *b = (GIDX *)DatumGetPointer(in->datums[tuple]);
+		uint16_t octant = getOctant(centroid, b);
 
-		out->leafTupleDatums[tuple] = PointerGetDatum(box);
+		out->leafTupleDatums[tuple] = PointerGetDatum(b);
 		out->mapTuplesToNodes[tuple] = octant;
 	}
 

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

Summary of changes:
 postgis/gserialized_spgist_nd.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list