summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2006-06-01 14:11:09 +0200
committerMichael Brown2006-06-01 14:11:09 +0200
commit50415b3acab9362797dde0b80e0ccc4841e52b74 (patch)
tree758f09afc909097aae13a627b1a6592712b43ccf /src
parentBacking out last change; no immediate plans to make the whole block-device (diff)
downloadipxe-50415b3acab9362797dde0b80e0ccc4841e52b74.tar.gz
ipxe-50415b3acab9362797dde0b80e0ccc4841e52b74.tar.xz
ipxe-50415b3acab9362797dde0b80e0ccc4841e52b74.zip
Make DBG_DISCARD correct
Diffstat (limited to 'src')
-rw-r--r--src/include/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/compiler.h b/src/include/compiler.h
index 08a2d3648..f2e63f1dd 100644
--- a/src/include/compiler.h
+++ b/src/include/compiler.h
@@ -124,7 +124,7 @@ __asm__ ( ".equ\tDEBUG_LEVEL, " DEBUG_SYMBOL_STR );
#endif
#define DBG_PRINT(...) printf ( __VA_ARGS__ )
-#define DBG_DISCARD(...)
+#define DBG_DISCARD(...) do {} while ( 0 )
#define DBG DBG_DISCARD
#define DBG2 DBG_DISCARD