mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)
Some fixes to eliminate warning
This commit is contained in:
@@ -122,7 +122,7 @@ void XCAFPrs::CollectStyleSettings (const TDF_Label &L,
|
||||
for ( Standard_Integer iL = 1; iL <= LayNames->Length(); iL++) {
|
||||
if ( !LTool->IsVisible( LTool->FindLayer(LayNames->Value(iL)) ) ) InVisCount++;
|
||||
}
|
||||
if ( InVisCount >0 && InVisCount == LayNames->Length() ||
|
||||
if ( (InVisCount >0 && InVisCount == LayNames->Length()) ||
|
||||
!CTool->IsVisible(lab) ) {
|
||||
style.SetVisibility(Standard_False);
|
||||
}
|
||||
|
Reference in New Issue
Block a user