[Telepathy-commits] [telepathy-salut/master] gibber-debug.c: don't build code if debug is disabled

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Jan 7 03:56:25 PST 2009


---
 lib/gibber/gibber-debug.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/gibber/gibber-debug.c b/lib/gibber/gibber-debug.c
index df01ade..6a29be8 100644
--- a/lib/gibber/gibber-debug.c
+++ b/lib/gibber/gibber-debug.c
@@ -5,6 +5,8 @@
 
 #include "gibber-debug.h"
 
+#ifdef ENABLE_DEBUG
+
 static DebugFlags flags = 0;
 static gboolean initialized = FALSE;
 
@@ -91,3 +93,5 @@ gibber_debug_stanza (DebugFlags flag,
       g_free (node_str);
     }
 }
+
+#endif
-- 
1.5.6.5




More information about the Telepathy-commits mailing list