summaryrefslogtreecommitdiff
path: root/src/debug.h
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
commitfaae16cddc0a2b9b4d09287faaa07e7db0e62110 (patch)
tree84ec4e74af4dd95c3c5b6fc568a56a6406da5b8e /src/debug.h
parent8fb9f600c89c185fe7d729f734872954f599e52f (diff)
downloadopenttd-faae16cddc0a2b9b4d09287faaa07e7db0e62110.tar.xz
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
Diffstat (limited to 'src/debug.h')
-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)