[Telepathy-commits] [telepathy-mission-control/master] Use G_STMT_START/END
Alberto Mardegan
alberto.mardegan at nokia.com
Thu Feb 26 03:10:20 PST 2009
---
src/mcd-debug.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mcd-debug.h b/src/mcd-debug.h
index 405892f..37a581e 100644
--- a/src/mcd-debug.h
+++ b/src/mcd-debug.h
@@ -35,10 +35,10 @@ G_BEGIN_DECLS
#ifdef ENABLE_DEBUG
-#define DEBUG(format, ...) do { \
+#define DEBUG(format, ...) G_STMT_START { \
if (_mcd_debug_get_level () > 0) \
g_debug (format, ##__VA_ARGS__); \
-} while (0)
+} G_STMT_END
/* reference count debugging */
#define g_object_ref(obj) (mcd_debug_ref (obj, __FILE__, __LINE__))
--
1.5.6.5
More information about the telepathy-commits
mailing list