[telepathy-gabble/master] eliminate unreachable code in vCard manager

Dafydd Harries dafydd.harries at collabora.co.uk
Thu Aug 6 06:21:22 PDT 2009


---
 src/vcard-manager.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/vcard-manager.c b/src/vcard-manager.c
index 32a483c..31af288 100644
--- a/src/vcard-manager.c
+++ b/src/vcard-manager.c
@@ -797,12 +797,7 @@ observe_vcard (GabbleConnection *conn,
 
   if (old_alias != NULL && !tp_strdiff (old_alias, alias))
     {
-#ifdef ENABLE_DEBUG
-      if (alias != NULL)
-        DEBUG ("no change to vCard alias \"%s\" for handle %u", alias, handle);
-      else
-        DEBUG ("still no vCard alias for handle %u", handle);
-#endif
+      DEBUG ("no change to vCard alias \"%s\" for handle %u", alias, handle);
 
       g_free (alias);
       return;
-- 
1.5.6.5




More information about the telepathy-commits mailing list