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:
@@ -357,10 +357,8 @@ void BRepFill_TrimEdgeTool::IntersectWith(const TopoDS_Edge& Edge1,
|
||||
Standard_Real TolInit= 1.e-9;
|
||||
Standard_Integer nn = 7;
|
||||
|
||||
if(AC1.GetType() != GeomAbs_Circle &&
|
||||
AC1.GetType() != GeomAbs_Line ||
|
||||
AC2.GetType() != GeomAbs_Circle &&
|
||||
AC2.GetType() != GeomAbs_Line ) {
|
||||
if((AC1.GetType() != GeomAbs_Circle && AC1.GetType() != GeomAbs_Line) ||
|
||||
(AC2.GetType() != GeomAbs_Circle && AC2.GetType() != GeomAbs_Line)) {
|
||||
|
||||
TolInit = 1.e-8;
|
||||
nn = 6;
|
||||
|
Reference in New Issue
Block a user