summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amrvar.h
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2010-07-28 16:24:11 +0000
committermdf <mdf@FreeBSD.org>2010-07-28 16:24:11 +0000
commite288f3f69d1187aeb80865c77a453fa0e97f7605 (patch)
tree1f1046b705a9263208429444d5f489b9267563e4 /sys/dev/amr/amrvar.h
parent1f63ca643a781e44e1fa1db5b65f1482fec6922a (diff)
downloadFreeBSD-src-e288f3f69d1187aeb80865c77a453fa0e97f7605.zip
FreeBSD-src-e288f3f69d1187aeb80865c77a453fa0e97f7605.tar.gz
Fix clang warning on empty statement.
Reviewed by: rdivacky, zml Approved by: zml (mentor)
Diffstat (limited to 'sys/dev/amr/amrvar.h')
-rw-r--r--sys/dev/amr/amrvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amr/amrvar.h b/sys/dev/amr/amrvar.h
index 7dc0fb4..833cc94 100644
--- a/sys/dev/amr/amrvar.h
+++ b/sys/dev/amr/amrvar.h
@@ -66,8 +66,8 @@
# define debug(level, fmt, args...) do {if (level <= AMR_DEBUG) printf("%s: " fmt "\n", __func__ , ##args);} while(0)
# define debug_called(level) do {if (level <= AMR_DEBUG) printf("%s: called\n", __func__);} while(0)
#else
-# define debug(level, fmt, args...)
-# define debug_called(level)
+# define debug(level, fmt, args...) do {} while (0)
+# define debug_called(level) do {} while (0)
#endif
#define xdebug(fmt, args...) printf("%s: " fmt "\n", __func__ , ##args)
OpenPOWER on IntegriCloud