summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-07-18 12:20:30 +0000
committersmatz <smatz@openttd.org>2008-07-18 12:20:30 +0000
commitb3bafb1d9c3dccbbba461b4c12cdedda08739f41 (patch)
tree84ec4e74af4dd95c3c5b6fc568a56a6406da5b8e
parent927507818fa96f341b30d5dd4229261ca476d437 (diff)
downloadopenttd-b3bafb1d9c3dccbbba461b4c12cdedda08739f41.tar.xz
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
-rw-r--r--src/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h
index 8cf27f1ea..7648732a3 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -21,9 +21,9 @@
#ifdef NO_DEBUG_MESSAGES
#if defined(__GNUC__) && (__GNUC__ < 3)
- #define DEBUG(name, level, args...)
+ #define DEBUG(name, level, args...) { }
#else
- #define DEBUG(name, level, ...)
+ #define DEBUG(name, level, ...) { }
#endif
#else /* NO_DEBUG_MESSAGES */
#if defined(__GNUC__) && (__GNUC__ < 3)