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:
@@ -1244,8 +1244,8 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertCurve2d(Handle(Geom2d_Cu
|
||||
}
|
||||
}
|
||||
if (aCurve->IsKind(STANDARD_TYPE(Geom2d_BSplineCurve)) ||
|
||||
aCurve->IsKind(STANDARD_TYPE(Geom2d_BezierCurve)) ||
|
||||
(aCurve->IsKind(STANDARD_TYPE(Geom2d_OffsetCurve))) && !IsOf ) {
|
||||
aCurve->IsKind(STANDARD_TYPE(Geom2d_BezierCurve)) ||
|
||||
((aCurve->IsKind(STANDARD_TYPE(Geom2d_OffsetCurve))) && !IsOf )) {
|
||||
Standard_Integer Deg=1;
|
||||
|
||||
if (aCurve->IsKind(STANDARD_TYPE(Geom2d_BSplineCurve))) {
|
||||
|
Reference in New Issue
Block a user