diff options
| author | Kevin Smith <git@kismith.co.uk> | 2009-11-21 23:03:52 (GMT) |
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2009-11-21 23:03:52 (GMT) |
| commit | 38fbde49ec4ff77708237d768581a47e6dd7d553 (patch) | |
| tree | f1f98389faa7cc5d0312c104a682b5f29f0dd182 /Swift/Controllers/RosterController.cpp | |
| parent | 18dd39bff0426b6f2cd77395a61faf8fa3108a83 (diff) | |
| download | swift-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/RosterController.cpp')
| -rw-r--r-- | Swift/Controllers/RosterController.cpp | 2 |
1 files changed, 1 insertions, 1 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 @@ -134,13 +134,13 @@ void RosterController::handleOnJIDUpdated(const JID& jid, const String& oldName, } void RosterController::handleIncomingPresence(boost::shared_ptr<Presence> presence) { 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)) { mainWindow_->setMyAvatarPath(path); } } |
Swift