mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix warning: unused parameter ‘req’ and ‘resp’
/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)
This commit is contained in:
parent
9d4967c0e1
commit
c866bf91c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user