From 7707f8cec2f8ef5773c9e298879f1e96251e8259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 2 Mar 2012 10:41:26 +0100 Subject: [PATCH] Fixed warning when compiled with DEBUG=1 but an empty D(). --- src/add-ons/kernel/file_systems/bfs/Query.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Query.cpp b/src/add-ons/kernel/file_systems/bfs/Query.cpp index d3742ba3cd..d6f213cd14 100644 --- a/src/add-ons/kernel/file_systems/bfs/Query.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Query.cpp @@ -1288,7 +1288,7 @@ Operator::Copy() const void Operator::PrintToStream() { - D(__out("( ")); + __out("( "); if (fLeft != NULL) fLeft->PrintToStream(); @@ -1298,12 +1298,12 @@ Operator::PrintToStream() case OP_AND: op = "AND"; break; default: op = "?"; break; } - D(__out(" %s ", op)); + __out(" %s ", op); if (fRight != NULL) fRight->PrintToStream(); - D(__out(" )")); + __out(" )"); } @@ -1319,7 +1319,7 @@ Equation::PrintToStream() case OP_LESS_THAN: symbol = "<"; break; case OP_LESS_THAN_OR_EQUAL: symbol = "<="; break; } - D(__out("[\"%s\" %s \"%s\"]", fAttribute, symbol, fString)); + __out("[\"%s\" %s \"%s\"]", fAttribute, symbol, fString); } #endif // DEBUG