summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-01-27 21:24:16 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-01-27 21:24:16 (GMT)
commit3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4 (patch)
tree02c6252e5ed30a82ff3010cbb527436a29a6ad50 /Swift/Controllers
parent33f5d90fcf54917e365d9ad4357929a91c31f701 (diff)
downloadswift-3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4.zip
swift-3a2277f5116cbf1ca3bc87ccb45eec5a9f2c80b4.tar.bz2
Fixed CLang warnings.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/Chat/MUCSearchController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/MUCSearchController.cpp b/Swift/Controllers/Chat/MUCSearchController.cpp
index 0f66163..2b25e2a 100644
--- a/Swift/Controllers/Chat/MUCSearchController.cpp
+++ b/Swift/Controllers/Chat/MUCSearchController.cpp
@@ -99,7 +99,7 @@ void MUCSearchController::handleSearchService(const JID& jid) {
}
void MUCSearchController::handleDiscoServiceFound(const JID& jid, boost::shared_ptr<DiscoInfo> info) {
- bool isMUC;
+ bool isMUC = false;
String name;
foreach (DiscoInfo::Identity identity, info->getIdentities()) {
if ((identity.getCategory() == "directory"