summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-06-13 17:26:40 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-06-13 17:35:31 (GMT)
commitb7b5d7093be4591a44dbfbaaec6aa253d2f767ac (patch)
tree709a5506a7f9b3d2467da4f89b53cb02874a319a /Swift/Controllers/Chat/UserSearchController.cpp
parent32ad273cf4fdc4cd0df9c8982824b62c02a3c61a (diff)
downloadswift-b7b5d7093be4591a44dbfbaaec6aa253d2f767ac.zip
swift-b7b5d7093be4591a44dbfbaaec6aa253d2f767ac.tar.bz2
Some more Cppcheck tweaks.
Diffstat (limited to 'Swift/Controllers/Chat/UserSearchController.cpp')
-rw-r--r--Swift/Controllers/Chat/UserSearchController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/UserSearchController.cpp b/Swift/Controllers/Chat/UserSearchController.cpp
index deac2f9..5a76c5d 100644
--- a/Swift/Controllers/Chat/UserSearchController.cpp
+++ b/Swift/Controllers/Chat/UserSearchController.cpp
@@ -85,12 +85,12 @@ void UserSearchController::endDiscoWalker() {
void UserSearchController::handleDiscoServiceFound(const JID& jid, boost::shared_ptr<DiscoInfo> info) {
- bool isUserDirectory = false;
+ //bool isUserDirectory = false;
bool supports55 = false;
foreach (DiscoInfo::Identity identity, info->getIdentities()) {
if ((identity.getCategory() == "directory"
&& identity.getType() == "user")) {
- isUserDirectory = true;
+ //isUserDirectory = true;
}
}
std::vector<std::string> features = info->getFeatures();