Hi there, Tried to fix this warning:src/build/libbe/storage/Volume.cpp: In member function ‘bool BVolume::operator==(const BVolume&) const’: src/build/libbe/storage/Volume.cpp:180: warning: suggest parentheses around && within ||
good bye, Vasilis
Index: src/build/libbe/storage/Volume.cpp =================================================================== --- src/build/libbe/storage/Volume.cpp (revision 25715) +++ src/build/libbe/storage/Volume.cpp (working copy) @@ -176,8 +176,8 @@ bool BVolume::operator==(const BVolume &volume) const { - return (InitCheck() != B_OK && volume.InitCheck() != B_OK - || fDevice == volume.fDevice); + return (InitCheck() != B_OK && volume.InitCheck() != B_OK) + || (fDevice == volume.fDevice); } // !=