Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > e10c0b8312c820084b34d49262ceeded > files > 2

swift-1.0-5.fc16.src.rpm

diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index f1f437a..30dc9d7 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -505,6 +505,7 @@ conf.Finish()
 
 # Lua
 env["LUA_BUNDLED"] = 1
+env["LUA_FLAGS"] = {}
 
 # Readline
 conf = Configure(conf_env)
diff --git a/Swift/Controllers/Chat/UserSearchController.cpp b/Swift/Controllers/Chat/UserSearchController.cpp
index b3403d7..0d38d11 100644
--- a/Swift/Controllers/Chat/UserSearchController.cpp
+++ b/Swift/Controllers/Chat/UserSearchController.cpp
@@ -85,12 +85,10 @@ void UserSearchController::endDiscoWalker() {
 
 
 void UserSearchController::handleDiscoServiceFound(const JID& jid, boost::shared_ptr<DiscoInfo> info) {
-	bool isUserDirectory = false;
 	bool supports55 = false;
 	foreach (DiscoInfo::Identity identity, info->getIdentities()) {
 		if ((identity.getCategory() == "directory"
 			&& identity.getType() == "user")) {
-			isUserDirectory = true;
 		}
 	}
 	std::vector<std::string> features = info->getFeatures();