mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 22:01:05 -05:00
Fix warning: unused parameter ‘type’ and ‘req’
/libresapi/src/api/ChatHandler.cpp:236: warning: unused parameter ‘type’ [-Wunused-parameter] void ChatHandler::notifyListChange(int list, int type) /libresapi/src/api/ChatHandler.cpp:971: warning: unused parameter ‘req’ [-Wunused-parameter] void ChatHandler::handleGetInvitationsToLobby(Request& req, Response& resp)
This commit is contained in:
parent
c866bf91c6
commit
8455adf375
@ -233,7 +233,7 @@ void ChatHandler::notifyChatLobbyEvent(uint64_t lobby_id, uint32_t event_type,
|
||||
}
|
||||
}
|
||||
|
||||
void ChatHandler::notifyListChange(int list, int type)
|
||||
void ChatHandler::notifyListChange(int list, int /*type*/)
|
||||
{
|
||||
if(list == NOTIFY_LIST_CHAT_LOBBY_INVITATION)
|
||||
{
|
||||
@ -968,7 +968,7 @@ void ChatHandler::handleInviteToLobby(Request& req, Response& resp)
|
||||
resp.setOk();
|
||||
}
|
||||
|
||||
void ChatHandler::handleGetInvitationsToLobby(Request& req, Response& resp)
|
||||
void ChatHandler::handleGetInvitationsToLobby(Request& /*req*/, Response& resp)
|
||||
{
|
||||
std::list<ChatLobbyInvite> invites;
|
||||
mRsMsgs->getPendingChatLobbyInvites(invites);
|
||||
|
Loading…
Reference in New Issue
Block a user