Make gcc 4 happy.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29742 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-03-26 23:57:24 +00:00
parent 40b0400da7
commit 3ed1a753c5
1 changed files with 4 additions and 4 deletions

View File

@ -2323,8 +2323,8 @@ FUSEVolume::_LockNodeChainsInternal(FUSENode* node1, bool lockParent1,
if (volumeUnlocked) { if (volumeUnlocked) {
// check whether we're still locking the right nodes // check whether we're still locking the right nodes
if (lockParent1 && originalNode1->Parent() != node1 if ((lockParent1 && originalNode1->Parent() != node1)
|| lockParent2 && originalNode2->Parent() != node2) { || (lockParent2 && originalNode2->Parent() != node2)) {
// We don't -- unlock everything and retry. // We don't -- unlock everything and retry.
*_retry = true; *_retry = true;
return B_OK; return B_OK;
@ -2364,8 +2364,8 @@ FUSEVolume::_LockNodeChainsInternal(FUSENode* node1, bool lockParent1,
if (volumeUnlocked) { if (volumeUnlocked) {
// check whether we're still locking the right nodes // check whether we're still locking the right nodes
if (lockParent1 && originalNode1->Parent() != node1 if ((lockParent1 && originalNode1->Parent() != node1)
|| lockParent2 && originalNode2->Parent() != node2) { || (lockParent2 && originalNode2->Parent() != node2)) {
// We don't -- unlock everything and retry. // We don't -- unlock everything and retry.
*_retry = true; *_retry = true;
return B_OK; return B_OK;