[telepathy-gabble/master] Use g_assert_not_reached as it's more common in this case.
Mike Ruprecht
mike.ruprecht at collabora.co.uk
Tue Dec 29 05:35:06 PST 2009
---
src/call-stream-endpoint.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/call-stream-endpoint.c b/src/call-stream-endpoint.c
index e3df3e1..59b95a1 100644
--- a/src/call-stream-endpoint.c
+++ b/src/call-stream-endpoint.c
@@ -130,8 +130,7 @@ gabble_call_stream_endpoint_get_property (GObject *object,
break;
case JINGLE_TRANSPORT_UNKNOWN:
default:
- g_assert ("Unknown transport type");
- break;
+ g_assert_not_reached ();
}
g_value_set_uint (value, type);
--
1.5.6.5
More information about the telepathy-commits
mailing list