From c866bf91c6ec8cac3113e0fc55d9e07d65865941 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 12:49:27 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20warning:=20unused=20parameter=20=E2=80=98?= =?UTF-8?q?req=E2=80=99=20and=20=E2=80=98resp=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /libresapi/src/api/IdentityHandler.cpp:721: warning: unused parameter ‘req’ [-Wunused-parameter] ResponseTask* IdentityHandler::handleDeleteIdentity(Request& req, /libresapi/src/api/IdentityHandler.cpp:722: warning: unused parameter ‘resp’ [-Wunused-parameter] Response& resp) --- libresapi/src/api/IdentityHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libresapi/src/api/IdentityHandler.cpp b/libresapi/src/api/IdentityHandler.cpp index ced71f14f..b25dc5d42 100644 --- a/libresapi/src/api/IdentityHandler.cpp +++ b/libresapi/src/api/IdentityHandler.cpp @@ -718,8 +718,8 @@ void IdentityHandler::handleImportKey(Request& req, Response& resp) resp.setFail(); } -ResponseTask* IdentityHandler::handleDeleteIdentity(Request& req, - Response& resp) +ResponseTask* IdentityHandler::handleDeleteIdentity(Request& /*req*/, + Response& /*resp*/) { return new DeleteIdentityTask(mRsIdentity); } } // namespace resource_api