(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
authorsmatz
Fri, 18 Jul 2008 12:20:30 +0000
changeset 11170 3646f7f4fcfc
parent 11169 60cbac6bc442
child 11171 04fc8e49df1b
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
src/debug.h
--- a/src/debug.h	Fri Jul 18 12:11:46 2008 +0000
+++ b/src/debug.h	Fri Jul 18 12:20:30 2008 +0000
@@ -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)