mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix some compiler warnings
This commit is contained in:
parent
fc5ed14b89
commit
feae9f5850
@ -1045,7 +1045,8 @@ ResponseTask* ChatHandler::handleLobbyParticipants(Request &req, Response &resp)
|
||||
return new SendLobbyParticipantsTask(mRsIdentity, mit->second);
|
||||
}
|
||||
|
||||
void ChatHandler::handleGetDefaultIdentityForChatLobby(Request& req, Response& resp)
|
||||
void ChatHandler::handleGetDefaultIdentityForChatLobby(Request& /*req*/,
|
||||
Response& resp)
|
||||
{
|
||||
RsGxsId gxsId;
|
||||
mRsMsgs->getDefaultIdentityForChatLobby(gxsId);
|
||||
|
@ -23,8 +23,8 @@ namespace resource_api
|
||||
|
||||
FileSharingHandler::FileSharingHandler(StateTokenServer *sts, RsFiles *files,
|
||||
RsNotify& notify):
|
||||
mStateTokenServer(sts), mRsFiles(files), mNotify(notify),
|
||||
mMtx("FileSharingHandler Mtx")
|
||||
mStateTokenServer(sts), mMtx("FileSharingHandler Mtx"), mRsFiles(files),
|
||||
mNotify(notify)
|
||||
{
|
||||
addResourceHandler("*", this, &FileSharingHandler::handleWildcard);
|
||||
addResourceHandler("force_check", this, &FileSharingHandler::handleForceCheck);
|
||||
@ -79,7 +79,7 @@ void FileSharingHandler::handleForceCheck(Request&, Response& resp)
|
||||
resp.setOk();
|
||||
}
|
||||
|
||||
void FileSharingHandler::handleGetSharedDir(Request& req, Response& resp)
|
||||
void FileSharingHandler::handleGetSharedDir(Request& /*req*/, Response& resp)
|
||||
{
|
||||
DirDetails dirDetails;
|
||||
mRsFiles->RequestDirDetails(NULL, dirDetails, RS_FILE_HINTS_LOCAL);
|
||||
|
@ -8,8 +8,8 @@ namespace resource_api
|
||||
|
||||
TransfersHandler::TransfersHandler(StateTokenServer *sts, RsFiles *files, RsPeers *peers,
|
||||
RsNotify& notify):
|
||||
mStateTokenServer(sts), mFiles(files), mRsPeers(peers), mLastUpdateTS(0), mNotify(notify),
|
||||
mMtx("TransfersHandler")
|
||||
mStateTokenServer(sts), mFiles(files), mRsPeers(peers), mNotify(notify),
|
||||
mMtx("TransfersHandler"), mLastUpdateTS(0)
|
||||
{
|
||||
addResourceHandler("*", this, &TransfersHandler::handleWildcard);
|
||||
addResourceHandler("downloads", this, &TransfersHandler::handleDownloads);
|
||||
|
Loading…
Reference in New Issue
Block a user