summaryrefslogtreecommitdiff
path: root/include/tools/debug.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:58:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:17 +0100
commitb4c2496f44c29de0185116f86226df911828f51b (patch)
treebd4dd42b7a7f835b210a512302134364393ea11d /include/tools/debug.hxx
parent5b7050362067e6eace8b303b7d9515075b7e2803 (diff)
bool improvements
Change-Id: Ia3fd76aa70564cbc683d0d66cc39aa368bea29d9
Diffstat (limited to 'include/tools/debug.hxx')
-rw-r--r--include/tools/debug.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx
index 7279845db3d8..b1b82bdc85e8 100644
--- a/include/tools/debug.hxx
+++ b/include/tools/debug.hxx
@@ -417,7 +417,7 @@ public:
do \
{ \
DbgTestSolarMutex(); \
-} while(0)
+} while(false)
// en-/disable debug defines
@@ -425,19 +425,19 @@ do \
do \
{ \
DbgGetData()->nTraceOut = nOut; \
-} while(0)
+} while(false)
#define DBG_INSTOUTWARNING( nOut ) \
do \
{ \
DbgGetData()->nWarningOut = nOut; \
-} while(0)
+} while(false)
#define DBG_INSTOUTERROR( nOut ) \
do \
{ \
DbgGetData()->nErrorOut = nOut; \
-} while(0)
+} while(false)
#else
// NO DBG_UITL