0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)

Some fixes to eliminate warning
This commit is contained in:
omy
2013-09-16 13:22:20 +04:00
committed by bugmaster
parent e97ea58f01
commit 0ebaa4dbc9
47 changed files with 197 additions and 204 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ Standard_Integer IntTools_MarkedRangeSet::GetIndex(const Standard_Real theValue,
{
Standard_Integer anIndex = 0;
if(UseLower && (theValue < myRangeSetStorer(1)) ||
if((UseLower && (theValue < myRangeSetStorer(1))) ||
(!UseLower && (theValue <= myRangeSetStorer(1))))
anIndex = 0;
else {