diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-11-01 16:19:33 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-11-01 16:19:33 +0000 |
commit | 627e4b13e98aa6c1007c17b6ec3dcfef50ad81a2 (patch) | |
tree | 59cfb03ea3aed5aaa989a2b33f79fbbc9d105a14 /lib/gibber | |
parent | 822ddd064c266345ab4fe19c4b574a4cd29d7159 (diff) | |
download | telepathy-salut-627e4b13e98aa6c1007c17b6ec3dcfef50ad81a2.tar.gz |
Remove support for --disable-debug
Diffstat (limited to 'lib/gibber')
-rw-r--r-- | lib/gibber/gibber-debug.c | 4 | ||||
-rw-r--r-- | lib/gibber/gibber-debug.h | 27 |
2 files changed, 0 insertions, 31 deletions
diff --git a/lib/gibber/gibber-debug.c b/lib/gibber/gibber-debug.c index 69d24884..bf26d457 100644 --- a/lib/gibber/gibber-debug.c +++ b/lib/gibber/gibber-debug.c @@ -5,8 +5,6 @@ #include <glib.h> -#ifdef ENABLE_DEBUG - static DebugFlags flags = 0; static gboolean initialized = FALSE; @@ -95,5 +93,3 @@ gibber_debug_stanza (DebugFlags flag, g_free (node_str); } } - -#endif diff --git a/lib/gibber/gibber-debug.h b/lib/gibber/gibber-debug.h index c7ec2603..9f919d28 100644 --- a/lib/gibber/gibber-debug.h +++ b/lib/gibber/gibber-debug.h @@ -10,8 +10,6 @@ G_BEGIN_DECLS -#ifdef ENABLE_DEBUG - typedef enum { DEBUG_TRANSPORT = 1 << 0, @@ -51,31 +49,6 @@ void gibber_debug_stanza (DebugFlags flag, WockyStanza *stanza, #endif /* DEBUG_FLAG */ -#else /* ENABLE_DEBUG */ - -#ifdef DEBUG_FLAG - -static inline void -DEBUG ( - const gchar *format, - ...) -{ -} - -static inline void -DEBUG_STANZA ( - WockyStanza *stanza, - const gchar *format, - ...) -{ -} - -#define DEBUGGING 0 - -#endif /* DEBUG_FLAG */ - -#endif /* ENABLE_DEBUG */ - G_END_DECLS #endif |