[telepathy-gabble/master] add_to_geoloc_node: we are not supposed to get an untested type at the end of the function
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri Aug 7 03:00:06 PDT 2009
---
src/conn-location.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/conn-location.c b/src/conn-location.c
index b0f6926..eeb97b6 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -228,7 +228,8 @@ add_to_geoloc_node (const gchar *tp_name,
DEBUG ("\t - %s: %s", (gchar *) tp_name, str);
}
else
- DEBUG ("\t - Unknown key dropped: %s", (gchar *) tp_name);
+ /* Keys and their type have been checked */
+ g_assert_not_reached ();
return TRUE;
}
--
1.5.6.5
More information about the telepathy-commits
mailing list