summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-02-12 12:41:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-02-12 12:41:02 (GMT)
commite14208b0c3ced126400d6fd031a8d9a92da798c2 (patch)
treed9c013e1b7ed9b5eb7fada544d02b6e67e2135c8 /Swiften/Serializer
parent24afb2e086b62719fec45a5eeb04a7ba24918220 (diff)
downloadswift-e14208b0c3ced126400d6fd031a8d9a92da798c2.zip
swift-e14208b0c3ced126400d6fd031a8d9a92da798c2.tar.bz2
Fixed compiler warnings.
Diffstat (limited to 'Swiften/Serializer')
-rw-r--r--Swiften/Serializer/PayloadSerializers/JinglePayloadSerializer.cpp2
1 files changed, 2 insertions, 0 deletions
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 "";
}
}