diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 21:47:25 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 21:47:25 +0000 |
commit | e68dd11c43ebec527da69da7b093ae90ef6d6ea9 (patch) | |
tree | 71e16cb1fc3c07a3b7ccab88dc2868a98b0bbbbb | |
parent | 6b9fa320806ce8a734d865ebcb8052ba0e50c527 (diff) |
Use do { } while(0) instead of empty DBG if not debugging.
-rw-r--r-- | lib/birdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h index 22695c19..6f053302 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -51,7 +51,7 @@ void debug(char *msg, ...); /* Printf to debug output */ #if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG) #define DBG(x, y...) debug(x, ##y) #else -#define DBG(x, y...) +#define DBG(x, y...) do { } while(0) #endif #ifdef DEBUGGING |