summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-04-14 15:51:39 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-14 15:51:39 (GMT)
commit7c683df1c9cde6ac8f1e4ffd04ab9a1b5a620348 (patch)
tree26f5119879e32da50bdb10a11dabf08e51f8c4b7 /Swift/Controllers/Chat
parent54aad4467142079f74471da6396ad31c9df389df (diff)
downloadswift-7c683df1c9cde6ac8f1e4ffd04ab9a1b5a620348.zip
swift-7c683df1c9cde6ac8f1e4ffd04ab9a1b5a620348.tar.bz2
Silence some warnings
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r--Swift/Controllers/Chat/MUCController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/MUCController.cpp b/Swift/Controllers/Chat/MUCController.cpp
index 52cd262..775d7a2 100644
--- a/Swift/Controllers/Chat/MUCController.cpp
+++ b/Swift/Controllers/Chat/MUCController.cpp
@@ -448,7 +448,7 @@ void MUCController::handleOccupantRoleChanged(const std::string& nick, const MUC
}
}
-void MUCController::handleOccupantAffiliationChanged(const std::string& nick, const MUCOccupant::Affiliation& affiliation, const MUCOccupant::Affiliation& oldAffiliation)
+void MUCController::handleOccupantAffiliationChanged(const std::string& nick, const MUCOccupant::Affiliation& affiliation, const MUCOccupant::Affiliation& /*oldAffiliation*/)
{
if (nick == nick_) {
setAvailableRoomActions(affiliation, muc_->getOccupant(nick_).getRole());