Fix macro to be optimized out, thanks to Filip
Modified: trunk/reactos/include/wine/debug.h
_____
Modified: trunk/reactos/include/wine/debug.h
--- trunk/reactos/include/wine/debug.h 2005-07-13 15:09:52 UTC (rev
16553)
+++ trunk/reactos/include/wine/debug.h 2005-07-13 15:46:59 UTC (rev
16554)
@@ -20,7 +20,7 @@
#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
Show replies by date