mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)
Some fixes to eliminate warning
This commit is contained in:
@@ -94,9 +94,9 @@ Standard_Boolean IGESToBRep_Actor::Recognize
|
||||
Standard_Integer typnum = ent->TypeNumber();
|
||||
Standard_Integer fornum = ent->FormNumber();
|
||||
if (IGESToBRep::IsCurveAndSurface(ent) ||
|
||||
(typnum == 402 && (fornum == 1 || fornum == 7 ||
|
||||
fornum == 14 || fornum == 15) ||
|
||||
(typnum == 408 ) || (typnum == 308)))
|
||||
((typnum == 402 && (fornum == 1 || fornum == 7 ||
|
||||
fornum == 14 || fornum == 15)) ||
|
||||
(typnum == 408 ) || (typnum == 308)))
|
||||
return Standard_True;
|
||||
|
||||
// Cas restants : non reconnus
|
||||
|
Reference in New Issue
Block a user