Fixed warning when compiled with DEBUG=1 but an empty D().

This commit is contained in:
Axel Dörfler 2012-03-02 10:41:26 +01:00
parent 0a1b16486b
commit 7707f8cec2

View File

@ -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