diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-02-12 12:41:02 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-02-12 12:41:02 (GMT) |
commit | e14208b0c3ced126400d6fd031a8d9a92da798c2 (patch) | |
tree | d9c013e1b7ed9b5eb7fada544d02b6e67e2135c8 | |
parent | 24afb2e086b62719fec45a5eeb04a7ba24918220 (diff) | |
download | swift-e14208b0c3ced126400d6fd031a8d9a92da798c2.zip swift-e14208b0c3ced126400d6fd031a8d9a92da798c2.tar.bz2 |
Fixed compiler warnings.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Swiften/Serializer/PayloadSerializers/JinglePayloadSerializer.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -45,3 +45,4 @@ cppcheck.log 3rdParty/LibMiniUPnPc/src/miniupnpc/miniupnpcstrings.h *.sublime-workspace /xmppbench +/.metadata diff --git a/Swiften/Serializer/PayloadSerializers/JinglePayloadSerializer.cpp b/Swiften/Serializer/PayloadSerializers/JinglePayloadSerializer.cpp index 25d35ff..023f11a 100644 --- a/Swiften/Serializer/PayloadSerializers/JinglePayloadSerializer.cpp +++ b/Swiften/Serializer/PayloadSerializers/JinglePayloadSerializer.cpp @@ -96,6 +96,7 @@ std::string JinglePayloadSerializer::actionToString(JinglePayload::Action action return ""; } assert(false); + return ""; } std::string JinglePayloadSerializer::reasonTypeToString(JinglePayload::Reason::Type type) const { @@ -139,6 +140,7 @@ std::string JinglePayloadSerializer::reasonTypeToString(JinglePayload::Reason::T return "unsupported-transports"; } assert(false); + return ""; } } |