fix gcc4 warning on missing parentheses on &

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42047 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV 2011-06-08 03:41:48 +00:00
parent ca3d3619b6
commit 36e54f3a44

View File

@ -1335,7 +1335,7 @@ Operator::Score() const
status_t status_t
Operator::InitCheck() Operator::InitCheck()
{ {
if (fOp != OP_AND && fOp != OP_OR if ((fOp != OP_AND && fOp != OP_OR)
|| fLeft == NULL || fLeft->InitCheck() < B_OK || fLeft == NULL || fLeft->InitCheck() < B_OK
|| fRight == NULL || fRight->InitCheck() < B_OK) || fRight == NULL || fRight->InitCheck() < B_OK)
return B_ERROR; return B_ERROR;