Fix Warnings: unused parameter ‘resp’, 'req' & 'resp'

warning: unused parameter ‘resp’ [-Wunused-parameter]
  virtual void gxsDoWork(Request &req, Response &resp)
                                                 ^~~~
This commit is contained in:
Phenom 2017-05-08 12:21:08 +02:00
parent a6acc72c89
commit 523730f31a

View File

@ -106,7 +106,7 @@ public:
{}
protected:
virtual void gxsDoWork(Request &req, Response &resp)
virtual void gxsDoWork(Request &req, Response & /* resp */)
{
RsGxsIdGroup group;
std::string gxs_id;
@ -545,7 +545,7 @@ ResponseTask* IdentityHandler::handleCreateIdentity(Request & /* req */, Respons
return new CreateIdentityTask(mRsIdentity);
}
ResponseTask* IdentityHandler::handleDeleteIdentity(Request& req, Response& resp)
ResponseTask* IdentityHandler::handleDeleteIdentity(Request& /* req */, Response& /* resp */)
{
return new DeleteIdentityTask(mRsIdentity);
}