[cpp-sp] 09/09: REMOVABLE default cases for comment out functions

Rod Widdowson rdw at steadingsoftware.com
Thu Jan 9 16:45:24 UTC 2025


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

rdw pushed a commit to branch dev/vc22-dev
in repository cpp-sp.

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

commit 4621b414b4637ee7a955534a22b9d0e9682a9f94
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jan 7 11:32:54 2025 +0000

    REMOVABLE default cases for comment out functions
---
 shibsp/handler/impl/LocalLogoutInitiator.cpp | 1 +
 shibsp/handler/impl/LogoutHandler.cpp        | 1 +
 shibsp/handler/impl/MetadataGenerator.cpp    | 1 +
 shibsp/handler/impl/RemotedHandler.cpp       | 1 +
 shibsp/handler/impl/SessionInitiator.cpp     | 1 +
 5 files changed, 5 insertions(+)

diff --git a/shibsp/handler/impl/LocalLogoutInitiator.cpp b/shibsp/handler/impl/LocalLogoutInitiator.cpp
index 1970ff88..8dfbd257 100644
--- a/shibsp/handler/impl/LocalLogoutInitiator.cpp
+++ b/shibsp/handler/impl/LocalLogoutInitiator.cpp
@@ -110,4 +110,5 @@ pair<bool,long> LocalLogoutInitiator::run(SPRequest& request, bool isHandler) co
     }
 
     //return sendLogoutPage(application, httpRequest, httpResponse, "local");
+    return pair(false, 0);
 }
diff --git a/shibsp/handler/impl/LogoutHandler.cpp b/shibsp/handler/impl/LogoutHandler.cpp
index 06fa7a4a..a98eebf3 100644
--- a/shibsp/handler/impl/LogoutHandler.cpp
+++ b/shibsp/handler/impl/LogoutHandler.cpp
@@ -194,4 +194,5 @@ bool LogoutHandler::notifyBackChannel(const SPRequest& request, const vector<str
     //out = application.getServiceProvider().getListenerService()->send(in);
     return (out.integer() == 1);
 */
+return false;
 }
diff --git a/shibsp/handler/impl/MetadataGenerator.cpp b/shibsp/handler/impl/MetadataGenerator.cpp
index 934060f5..20b845d5 100644
--- a/shibsp/handler/impl/MetadataGenerator.cpp
+++ b/shibsp/handler/impl/MetadataGenerator.cpp
@@ -86,4 +86,5 @@ pair<bool,long> MetadataGenerator::run(SPRequest& request, bool isHandler) const
         istringstream msg("Metadata Request Failed");
         return make_pair(true, request.sendResponse(msg, HTTPResponse::SHIBSP_HTTP_STATUS_ERROR));
     }
+    return ret;
 }
diff --git a/shibsp/handler/impl/RemotedHandler.cpp b/shibsp/handler/impl/RemotedHandler.cpp
index 07d3efab..05ccfbed 100644
--- a/shibsp/handler/impl/RemotedHandler.cpp
+++ b/shibsp/handler/impl/RemotedHandler.cpp
@@ -58,6 +58,7 @@ DDF RemotedHandler::send(const SPRequest& request, DDF& in) const
     }
 
     //return request.getServiceProvider().getListenerService()->send(in);
+    return DDF();
 }
 
 DDF RemotedHandler::wrap(const SPRequest& request, const vector<string>* headers, bool certs) const
diff --git a/shibsp/handler/impl/SessionInitiator.cpp b/shibsp/handler/impl/SessionInitiator.cpp
index fa98e765..39232fbf 100644
--- a/shibsp/handler/impl/SessionInitiator.cpp
+++ b/shibsp/handler/impl/SessionInitiator.cpp
@@ -137,4 +137,5 @@ pair<bool,long> SessionInitiator::run(SPRequest& request, bool isHandler) const
         throw;
     }
     */
+    return pair(true,0);
 }

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


More information about the commits mailing list