[telepathy-gabble/master] remove reduntant check
Dafydd Harries
dafydd.harries at collabora.co.uk
Tue Sep 22 08:23:52 PDT 2009
---
src/conn-location.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/conn-location.c b/src/conn-location.c
index 9e2d164..1c2c44d 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -217,7 +217,7 @@ add_to_geoloc_node (const gchar *tp_name,
return TRUE;
}
- if (mapping != NULL && G_VALUE_TYPE (value) != mapping->type)
+ if (G_VALUE_TYPE (value) != mapping->type)
{
#define ERROR_MSG "'%s' is supposed to be of type %s but is %s",\
(const char *) tp_name, g_type_name (mapping->type),\
--
1.5.6.5
More information about the telepathy-commits
mailing list