[cpp-sp] branch master updated: Fix some warnings.
Scott Cantor
cantor.2 at osu.edu
Wed Apr 1 19:48:29 EDT 2020
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=880996f4161326208edc5a5a60fa93546c154c97
The following commit(s) were added to refs/heads/master by this push:
new 880996f Fix some warnings.
880996f is described below
commit 880996f4161326208edc5a5a60fa93546c154c97
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Apr 1 19:48:23 2020 -0400
Fix some warnings.
---
adfs/adfs.cpp | 2 +-
apache/mod_shib.cpp | 10 +++++-----
memcache-store/memcache-store.cpp | 2 +-
shibsp/handler/impl/AbstractHandler.cpp | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/adfs/adfs.cpp b/adfs/adfs.cpp
index c29c145..72b95fe 100644
--- a/adfs/adfs.cpp
+++ b/adfs/adfs.cpp
@@ -847,7 +847,7 @@ void ADFSConsumer::implementProtocol(
#endif
-pair<bool,long> ADFSLogoutInitiator::run(SPRequest& request, bool isHandler) const
+pair<bool,long> ADFSLogoutInitiator::run(SPRequest& request, bool) const
{
// Normally we'd do notifications and session clearage here, but ADFS logout
// is missing the needed request/response features, so we have to rely on
diff --git a/apache/mod_shib.cpp b/apache/mod_shib.cpp
index 8719102..dd0f412 100644
--- a/apache/mod_shib.cpp
+++ b/apache/mod_shib.cpp
@@ -142,7 +142,7 @@ struct shib_server_config
};
// creates the per-server configuration
-extern "C" void* create_shib_server_config(SH_AP_POOL* p, server_rec* s)
+extern "C" void* create_shib_server_config(SH_AP_POOL* p, server_rec*)
{
shib_server_config* sc=(shib_server_config*)ap_pcalloc(p,sizeof(shib_server_config));
sc->szScheme = nullptr;
@@ -200,7 +200,7 @@ struct shib_dir_config
};
// creates per-directory config structure
-extern "C" void* create_shib_dir_config (SH_AP_POOL* p, char* d)
+extern "C" void* create_shib_dir_config (SH_AP_POOL* p, char*)
{
shib_dir_config* dc=(shib_dir_config*)ap_pcalloc(p,sizeof(shib_dir_config));
dc->tSettings = nullptr;
@@ -1019,7 +1019,7 @@ private:
bool checkAttribute(const SPRequest& request, const Attribute* attr, const char* toMatch, RegularExpression* re) const;
};
-AccessControl* htAccessFactory(const xercesc::DOMElement* const & e, bool)
+AccessControl* htAccessFactory(const xercesc::DOMElement* const &, bool)
{
return new htAccessControl();
}
@@ -1616,7 +1616,7 @@ pair<ShibTargetApache*,authz_status> shib_base_check_authz(request_rec* r)
return make_pair(rc->sta, AUTHZ_GRANTED);
}
-extern "C" authz_status shib_shibboleth_check_authz(request_rec* r, const char* require_line, const void*)
+extern "C" authz_status shib_shibboleth_check_authz(request_rec* r, const char*, const void*)
{
pair<ShibTargetApache*,authz_status> sta = shib_base_check_authz(r);
if (!sta.first)
@@ -1624,7 +1624,7 @@ extern "C" authz_status shib_shibboleth_check_authz(request_rec* r, const char*
return AUTHZ_GRANTED;
}
-extern "C" authz_status shib_session_check_authz(request_rec* r, const char* require_line, const void*)
+extern "C" authz_status shib_session_check_authz(request_rec* r, const char*, const void*)
{
pair<ShibTargetApache*,authz_status> sta = shib_base_check_authz(r);
if (!sta.first)
diff --git a/memcache-store/memcache-store.cpp b/memcache-store/memcache-store.cpp
index 24e6c86..98b4f4c 100644
--- a/memcache-store/memcache-store.cpp
+++ b/memcache-store/memcache-store.cpp
@@ -135,7 +135,7 @@ namespace {
return deleteString(context, key);
}
- void reap(const char* context) {}
+ void reap(const char*) {}
void updateContext(const char* context, time_t expiration);
void deleteContext(const char* context);
diff --git a/shibsp/handler/impl/AbstractHandler.cpp b/shibsp/handler/impl/AbstractHandler.cpp
index 63dea8b..542487f 100644
--- a/shibsp/handler/impl/AbstractHandler.cpp
+++ b/shibsp/handler/impl/AbstractHandler.cpp
@@ -155,7 +155,7 @@ Handler::~Handler()
#ifndef SHIBSP_LITE
-void Handler::generateMetadata(SPSSODescriptor& role, const char* handlerURL) const
+void Handler::generateMetadata(SPSSODescriptor&, const char*) const
{
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list