summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-11-21 23:03:52 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-11-21 23:03:52 (GMT)
commit38fbde49ec4ff77708237d768581a47e6dd7d553 (patch)
treef1f98389faa7cc5d0312c104a682b5f29f0dd182 /Swift/Controllers
parent18dd39bff0426b6f2cd77395a61faf8fa3108a83 (diff)
downloadswift-38fbde49ec4ff77708237d768581a47e6dd7d553.zip
swift-38fbde49ec4ff77708237d768581a47e6dd7d553.tar.bz2
Removing compiler warnings.
Swiften and Swift now build with no compiler warnings for me on Snow Leopard.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/RosterController.cpp2
-rw-r--r--Swift/Controllers/SoundEventController.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/RosterController.cpp b/Swift/Controllers/RosterController.cpp
index 063d2a7..807fc19 100644
--- a/Swift/Controllers/RosterController.cpp
+++ b/Swift/Controllers/RosterController.cpp
@@ -137,7 +137,7 @@ void RosterController::handleIncomingPresence(boost::shared_ptr<Presence> presen
roster_->applyOnItems(SetPresence(presence));
}
-void RosterController::handleAvatarChanged(const JID& jid, const String& hash) {
+void RosterController::handleAvatarChanged(const JID& jid, const String&) {
String path = avatarManager_->getAvatarPath(jid).string();
roster_->applyOnItems(SetAvatar(jid, path));
if (jid.equals(myJID_, JID::WithoutResource)) {
diff --git a/Swift/Controllers/SoundEventController.cpp b/Swift/Controllers/SoundEventController.cpp
index 133becf..d466842 100644
--- a/Swift/Controllers/SoundEventController.cpp
+++ b/Swift/Controllers/SoundEventController.cpp
@@ -14,7 +14,7 @@ SoundEventController::SoundEventController(EventController* eventController, Sou
eventController_->onEventQueueEventAdded.connect(boost::bind(&SoundEventController::handleEventQueueEventAdded, this, _1));
}
-void SoundEventController::handleEventQueueEventAdded(boost::shared_ptr<MessageEvent> event) {
+void SoundEventController::handleEventQueueEventAdded(boost::shared_ptr<MessageEvent>) {
if (playSounds_) soundPlayer_->playSound(SoundPlayer::MessageReceived);
}