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:
@@ -90,8 +90,8 @@ Handle(Geom_Curve) GeomAdaptor::MakeCurve (const Adaptor3d_Curve& HC)
|
||||
}
|
||||
|
||||
// trim the curve if necassary.
|
||||
if (! C.IsNull() &&
|
||||
(HC.FirstParameter() != C->FirstParameter()) ||
|
||||
if ((! C.IsNull() &&
|
||||
(HC.FirstParameter() != C->FirstParameter())) ||
|
||||
(HC.LastParameter() != C->LastParameter())) {
|
||||
|
||||
C = new Geom_TrimmedCurve(C,HC.FirstParameter(),HC.LastParameter());
|
||||
|
Reference in New Issue
Block a user