1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023295: A part of conditional expression is always true

Checking if curve type is GeomAbs_BSplineCurve.
This commit is contained in:
Pawel 2012-07-17 11:34:42 +02:00 committed by Pawel Kowalski
parent b2d4add4b8
commit 8558350d3c

View File

@ -2042,7 +2042,7 @@ void ProcessAloneStickVertices(const Standard_Integer nF1,
const IntTools_Curve& aIC=aBC.Curve();
//Handle(Geom_Curve) aC3D=aIC.Curve(); //DEB
aTypeC=aIC.Type();
if (!(aTypeC==GeomAbs_BezierCurve || GeomAbs_BSplineCurve)) {
if (!(aTypeC==GeomAbs_BezierCurve || aTypeC==GeomAbs_BSplineCurve)) {
continue;
}
//