From 698dee2b873f97c422afb76bdd03e6bd3974be9d Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Wed, 13 Jul 2005 15:46:59 +0000 Subject: [PATCH] Fix macro to be optimized out, thanks to Filip svn path=/trunk/; revision=16554 --- reactos/include/wine/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/wine/debug.h b/reactos/include/wine/debug.h index 047635334bb..465f9faa836 100644 --- a/reactos/include/wine/debug.h +++ b/reactos/include/wine/debug.h @@ -20,7 +20,7 @@ unsigned long DbgPrint(char *Format,...); #endif #if !defined(DBG) || !defined(YDEBUG) -#define DPRINT(...) do { DbgPrint(__VA_ARGS__); } while(0) +#define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) #else #define DPRINT DbgPrint("(%s:%d:%s) ",__FILE__,__LINE__,__FUNCTION__), DbgPrint #endif