summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-12-24 10:57:34 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-12-24 10:57:57 (GMT)
commitf69d027b7e3b4260e514a77f7195ec511977b63e (patch)
treec31996e04c177f8f58646e493ae2aa4d9542c078
parent1a1dcaa3c35acfbb6954310674a5e6724f48f26b (diff)
downloadswift-contrib-f69d027b7e3b4260e514a77f7195ec511977b63e.zip
swift-contrib-f69d027b7e3b4260e514a77f7195ec511977b63e.tar.bz2
Fixed compilation warnings.
-rw-r--r--Swiften/Serializer/PayloadSerializers/JingleS5BTransportPayloadSerializer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/JingleS5BTransportPayloadSerializer.cpp b/Swiften/Serializer/PayloadSerializers/JingleS5BTransportPayloadSerializer.cpp
index c5b40d5..c753839 100644
--- a/Swiften/Serializer/PayloadSerializers/JingleS5BTransportPayloadSerializer.cpp
+++ b/Swiften/Serializer/PayloadSerializers/JingleS5BTransportPayloadSerializer.cpp
@@ -60,26 +60,28 @@ std::string JingleS5BTransportPayloadSerializer::serializePayload(boost::shared_
std::string JingleS5BTransportPayloadSerializer::modeToString(JingleS5BTransportPayload::Mode mode) const {
switch(mode) {
case JingleS5BTransportPayload::TCPMode:
return "tcp";
case JingleS5BTransportPayload::UDPMode:
return "udp";
}
assert(false);
+ return "";
}
std::string JingleS5BTransportPayloadSerializer::typeToString(JingleS5BTransportPayload::Candidate::Type type) const {
switch(type) {
case JingleS5BTransportPayload::Candidate::AssistedType:
return "assisted";
case JingleS5BTransportPayload::Candidate::DirectType:
return "direct";
case JingleS5BTransportPayload::Candidate::ProxyType:
return "proxy";
case JingleS5BTransportPayload::Candidate::TunnelType:
return "tunnel";
}
assert(false);
+ return "";
}
}