[cpp-sp] branch main updated: Remove unused variable name in catch()

Rod Widdowson rdw at steadingsoftware.com
Sat Dec 14 15:40:37 UTC 2024


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=293ff2ab6454b0946b3b03719efa132bff461f1f

The following commit(s) were added to refs/heads/main by this push:
     new 293ff2ab Remove unused variable name in catch()
293ff2ab is described below

commit 293ff2ab6454b0946b3b03719efa132bff461f1f
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Dec 14 15:30:26 2024 +0000

    Remove unused variable name in catch()
---
 shibsp/impl/XMLAccessControl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/impl/XMLAccessControl.cpp b/shibsp/impl/XMLAccessControl.cpp
index ae239274..150ae4cf 100644
--- a/shibsp/impl/XMLAccessControl.cpp
+++ b/shibsp/impl/XMLAccessControl.cpp
@@ -243,7 +243,7 @@ RuleRegex::RuleRegex(const ptree& pt)
         }
         m_re = regex(m_exp, flags);
     }
-    catch (const regex_error& e) {
+    catch (const regex_error&) {
         throw ConfigurationException("Caught exception while parsing RuleRegex regular expression.");
     }
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list