[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha3-24-gfa9e07d

git at osgeo.org git at osgeo.org
Sat Dec 5 07:59:47 PST 2020


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  fa9e07d775235fc7dba60b0ab64487286e521de5 (commit)
      from  da270f651ecd807d85ddc53e0bbca28fd6699b79 (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 fa9e07d775235fc7dba60b0ab64487286e521de5
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Sat Dec 5 18:59:36 2020 +0300

    Remove unused variable
    
    CI Fix
    References #4788

diff --git a/postgis/lwgeom_generate_grid.c b/postgis/lwgeom_generate_grid.c
index b77b0c8..952ca9c 100755
--- a/postgis/lwgeom_generate_grid.c
+++ b/postgis/lwgeom_generate_grid.c
@@ -247,7 +247,6 @@ Datum ST_ShapeGrid(PG_FUNCTION_ARGS)
 	{
 		MemoryContext oldcontext;
 		const char *func_name;
-		double bounds_width, bounds_height;
 		char gbounds_is_empty;
 		GBOX bounds;
 		double size;
@@ -258,8 +257,6 @@ Datum ST_ShapeGrid(PG_FUNCTION_ARGS)
 		size = PG_GETARG_FLOAT8(0);
 
 		gbounds_is_empty = (gserialized_get_gbox_p(gbounds, &bounds) == LW_FAILURE);
-		bounds_width = bounds.xmax - bounds.xmin;
-		bounds_height = bounds.ymax - bounds.ymin;
 
 		/* quick opt-out if we get nonsensical inputs  */
 		if (size <= 0.0 || gbounds_is_empty)

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

Summary of changes:
 postgis/lwgeom_generate_grid.c | 3 ---
 1 file changed, 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list