[cpp-sp] branch main updated: Add default case to BoostPropertySet::hasProperty()

Rod Widdowson rdw at steadingsoftware.com
Tue Jan 7 11:34:03 UTC 2025


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=3d676393c9c1f8862ed3f563cf4a360b48ffd5b4

The following commit(s) were added to refs/heads/main by this push:
     new 3d676393 Add default case to  BoostPropertySet::hasProperty()
3d676393 is described below

commit 3d676393c9c1f8862ed3f563cf4a360b48ffd5b4
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jan 7 11:31:05 2025 +0000

    Add default case to  BoostPropertySet::hasProperty()
---
 shibsp/util/BoostPropertySet.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shibsp/util/BoostPropertySet.cpp b/shibsp/util/BoostPropertySet.cpp
index 48cf1bd6..f24fdc83 100644
--- a/shibsp/util/BoostPropertySet.cpp
+++ b/shibsp/util/BoostPropertySet.cpp
@@ -89,6 +89,7 @@ bool BoostPropertySet::hasProperty(const char* name) const
     if (m_parent && m_unset.find(name) == m_unset.end()) {
         return m_parent->hasProperty(name);
     }
+    return false;
 }
 
 bool BoostPropertySet::getBool(const char* name, bool defaultValue) const

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


More information about the commits mailing list