[geos-commits] [SCM] GEOS branch master updated. b3043f9c2ec08074c433d80798551e9790cf1fd0

git at osgeo.org git at osgeo.org
Sat Nov 28 13:03:20 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 "GEOS".

The branch, master has been updated
       via  b3043f9c2ec08074c433d80798551e9790cf1fd0 (commit)
      from  4b518f34d55756b4404ae9bcd0840ee80db17eef (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 b3043f9c2ec08074c433d80798551e9790cf1fd0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Sat Nov 28 13:03:16 2020 -0800

    Remove shadow var warning

diff --git a/tests/unit/capi/GEOSSTRtreeTest.cpp b/tests/unit/capi/GEOSSTRtreeTest.cpp
index f88807f..5e69671 100644
--- a/tests/unit/capi/GEOSSTRtreeTest.cpp
+++ b/tests/unit/capi/GEOSSTRtreeTest.cpp
@@ -277,8 +277,8 @@ void object::test<8>
         tree,
         q,
         [](void* item, void* userdata) {
-            GList* geoms = (GList*)userdata;
-            geoms->push_back((GEOSGeometry*)item);
+            GList* gl = (GList*)userdata;
+            gl->push_back((GEOSGeometry*)item);
         },
         &geoms);
 
@@ -318,8 +318,8 @@ void object::test<9>
         tree,
         q,
         [](void* item, void* userdata) {
-            IList* items = (IList*)userdata;
-            items->push_back((int*)item);
+            IList* il = (IList*)userdata;
+            il->push_back((int*)item);
         },
         &items);
 

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

Summary of changes:
 tests/unit/capi/GEOSSTRtreeTest.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list