[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-128-g6316fa3

git at osgeo.org git at osgeo.org
Tue Apr 6 14:01:58 PDT 2021


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  6316fa32e8e8d027d6cf09f683dabef024450403 (commit)
      from  d7b7763fb4ac3ef12b31c9b728f7dbb81f31ed2c (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 6316fa32e8e8d027d6cf09f683dabef024450403
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Wed Apr 7 00:01:13 2021 +0300

    ST_Boundary: fix the -Werror warnings, re-enable collection

diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c
index 99d45be..49579b4 100644
--- a/liblwgeom/lwgeom.c
+++ b/liblwgeom/lwgeom.c
@@ -2538,8 +2538,6 @@ void lwgeom_trim_bits_in_place(LWGEOM* geom, int32_t prec_x, int32_t prec_y, int
 LWGEOM *
 lwgeom_boundary(LWGEOM *lwgeom)
 {
-	LWGEOM *lwresult;
-
 	int32_t srid = lwgeom_get_srid(lwgeom);
 	uint8_t hasz = lwgeom_has_z(lwgeom);
 	uint8_t hasm = lwgeom_has_m(lwgeom);
@@ -2646,7 +2644,8 @@ lwgeom_boundary(LWGEOM *lwgeom)
 		return (LWGEOM *)lwcol;
 	}
 	case MULTIPOLYGONTYPE:
-	case TINTYPE: {
+	case TINTYPE:
+	case COLLECTIONTYPE: {
 		LWCOLLECTION *lwcol = (LWCOLLECTION *)lwgeom;
 		LWCOLLECTION *lwcol_boundary = lwcollection_construct_empty(MULTILINETYPE, srid, hasz, hasm);
 

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

Summary of changes:
 liblwgeom/lwgeom.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list