summaryrefslogtreecommitdiff
path: root/daemons/cmirrord
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2014-01-07 19:37:07 -0600
committerJonathan Brassow <jbrassow@redhat.com>2014-01-07 19:37:07 -0600
commit3a4efb2f1620b5875395966b66510392d1ebe60a (patch)
treef1c856b8a9ddef1efdf0fa3332e3757f7b9454f7 /daemons/cmirrord
parenta832120521ea4cd528b8228bf0fe1cf80fa603e9 (diff)
downloadlvm2-3a4efb2f1620b5875395966b66510392d1ebe60a.tar.gz
Misc: Get rid of some compiler warnings.
Diffstat (limited to 'daemons/cmirrord')
-rw-r--r--daemons/cmirrord/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/cmirrord/logging.h b/daemons/cmirrord/logging.h
index 40dd462af..facc1b22c 100644
--- a/daemons/cmirrord/logging.h
+++ b/daemons/cmirrord/logging.h
@@ -63,7 +63,7 @@ extern int log_resend_requests;
#ifdef DEBUG
#define LOG_DBG(f, arg...) LOG_OUTPUT(LOG_DEBUG, f, ## arg)
#else /* DEBUG */
-#define LOG_DBG(f, arg...)
+#define LOG_DBG(f, arg...) do {} while (0)
#endif /* DEBUG */
#define LOG_COND(__X, f, arg...) do {\