[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-732-g65eb05bcf

git at osgeo.org git at osgeo.org
Tue Apr 18 08:52:28 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, master has been updated
       via  65eb05bcf97e519ffd6912150fdf72e85de5b9c1 (commit)
      from  f1e368fb3d7b3835e1c83d4e2d6aa8d444a22014 (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 65eb05bcf97e519ffd6912150fdf72e85de5b9c1
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Apr 18 08:52:23 2023 -0700

    Quiet build warnings on MacOS Ventura

diff --git a/extensions/address_standardizer/parseaddress-api.c b/extensions/address_standardizer/parseaddress-api.c
index f88f830c1..631b6cbdb 100644
--- a/extensions/address_standardizer/parseaddress-api.c
+++ b/extensions/address_standardizer/parseaddress-api.c
@@ -331,7 +331,7 @@ ADDRESS *parseaddress(HHash *stH, char *s, int *reterr)
     rc = match((char *)regx, s, ovect, 0);
     if (rc <= 0) {
         /* look for state specific regex */
-        mi++;
+        mi = mi + 1;
         regx = (char *) get_state_regex(ret->st);
         if (regx)
             rc = match((char *)regx, s, ovect, 0);
diff --git a/loader/shp2pgsql-core.c b/loader/shp2pgsql-core.c
index 6802c6784..67e9eae00 100644
--- a/loader/shp2pgsql-core.c
+++ b/loader/shp2pgsql-core.c
@@ -659,7 +659,7 @@ GeneratePolygonGeometry(SHPLOADERSTATE *state, SHPObject *obj, char **geometry)
 		polyring = Outer[pi];
 		while (polyring)
 		{
-			ring_total++;
+			ring_total = ring_total + 1;
 			polyring = polyring->next;
 		}
 
@@ -689,7 +689,7 @@ GeneratePolygonGeometry(SHPLOADERSTATE *state, SHPObject *obj, char **geometry)
 			lwpoly_add_ring(lwpoly, pa);
 
 			polyring = polyring->next;
-			ring_index++;
+			ring_index = ring_index + 1;
 		}
 
 		/* Generate the LWGEOM */

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

Summary of changes:
 extensions/address_standardizer/parseaddress-api.c | 2 +-
 loader/shp2pgsql-core.c                            | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list