Skip to contentSkip to conversation

master - Misc: Get rid of some compiler warnings.

PATCH Jonathan Brassow 1 participant 1 message Jan 8, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3a4efb2f1620b5875395966b66510392d1ebe60a
Commit:        3a4efb2f1620b5875395966b66510392d1ebe60a
Parent:        a832120521ea4cd528b8228bf0fe1cf80fa603e9
Author:        Jonathan Brassow <[email protected]>
AuthorDate:    Tue Jan 7 19:37:07 2014 -0600
Committer:     Jonathan Brassow <[email protected]>
CommitterDate: Tue Jan 7 19:37:07 2014 -0600

Misc: Get rid of some compiler warnings.

---
 daemons/cmirrord/logging.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/cmirrord/logging.h +1 -1
index 40dd462..facc1b2 100644
@@ -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 {\