[geos-commits] [SCM] GEOS branch master updated. 39cb6517086a74a73e6082c99646d4533910ffef

git at osgeo.org git at osgeo.org
Mon Oct 19 07:07:43 PDT 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  39cb6517086a74a73e6082c99646d4533910ffef (commit)
      from  c06450ef893f63319c360568b18726475b1e39c7 (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 39cb6517086a74a73e6082c99646d4533910ffef
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Oct 19 16:06:07 2020 +0200

    Simplify unused variable handling

diff --git a/tests/unit/operation/geounion/CoverageUnionTest.cpp b/tests/unit/operation/geounion/CoverageUnionTest.cpp
index 91de550..8100160 100644
--- a/tests/unit/operation/geounion/CoverageUnionTest.cpp
+++ b/tests/unit/operation/geounion/CoverageUnionTest.cpp
@@ -78,8 +78,7 @@ namespace tut {
         try {
             auto u1 = CoverageUnion::Union(coll.get());
             fail();
-        } catch(const geos::util::TopologyException & e) {
-            (void)(e); // silence unused warning
+        } catch(const geos::util::TopologyException &) {
         }
     }
 

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

Summary of changes:
 tests/unit/operation/geounion/CoverageUnionTest.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list