summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-12-31 12:09:59 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-12-31 12:09:59 (GMT)
commit3625bf9f94aad738b6d44da4b8f70c60cd167647 (patch)
tree9b32044e0704904b1c88c8a11044ce6205ca6d9a /Swiften/StringPrep
parent8aed9641dd20a3375f8a443189c7ca6243cf9fc6 (diff)
downloadswift-contrib-3625bf9f94aad738b6d44da4b8f70c60cd167647.zip
swift-contrib-3625bf9f94aad738b6d44da4b8f70c60cd167647.tar.bz2
Fix building on OS X using default Qt installation.
Diffstat (limited to 'Swiften/StringPrep')
-rw-r--r--Swiften/StringPrep/StringPrep.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/StringPrep/StringPrep.cpp b/Swiften/StringPrep/StringPrep.cpp
index 3e85177..a4af208 100644
--- a/Swiften/StringPrep/StringPrep.cpp
+++ b/Swiften/StringPrep/StringPrep.cpp
@@ -14,6 +14,8 @@ const Stringprep_profile* getLibIDNProfile(StringPrep::Profile profile) {
case StringPrep::XMPPResourcePrep: return stringprep_xmpp_resourceprep; break;
case StringPrep::SASLPrep: return stringprep_saslprep; break;
}
+ assert(false);
+ return 0;
}
String StringPrep::getPrepared(const String& s, Profile profile) {