[Telepathy-commits] [telepathy-gabble/master] Remove unused gibber macros.
Will Thompson
will.thompson at collabora.co.uk
Sun Mar 1 04:27:19 PST 2009
Synced from Salut
---
lib/gibber/gibber-debug.h | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/lib/gibber/gibber-debug.h b/lib/gibber/gibber-debug.h
index 0c7c598..29d5aa3 100644
--- a/lib/gibber/gibber-debug.h
+++ b/lib/gibber/gibber-debug.h
@@ -42,28 +42,6 @@ void gibber_debug_stanza (DebugFlags flag, GibberXmppStanza *stanza,
G_GNUC_PRINTF (3, 4);
#endif
-#define gibber_goto_if_reached(label) G_STMT_START{ \
- g_log (G_LOG_DOMAIN, \
- G_LOG_LEVEL_CRITICAL, \
- "file %s: line %d: should not be reached", \
- __FILE__, \
- __LINE__); \
- goto label; }G_STMT_END;
-
-#define gibber_goto_if_fail(expr, label) G_STMT_START{ \
- if (expr) {} \
- else \
- { \
- g_log (G_LOG_DOMAIN, \
- G_LOG_LEVEL_CRITICAL, \
- "file %s: line %d: assertion `%s' failed", \
- __FILE__, \
- __LINE__, \
- #expr); \
- goto label; \
- }; }G_STMT_END
-
-
#ifdef DEBUG_FLAG
#define DEBUG(format, ...) \
@@ -98,4 +76,3 @@ void gibber_debug_stanza (DebugFlags flag, GibberXmppStanza *stanza,
G_END_DECLS
#endif
-
--
1.5.6.5
More information about the telepathy-commits
mailing list