From: Pawel Date: Tue, 17 Jul 2012 09:34:42 +0000 (+0200) Subject: 0023295: A part of conditional expression is always true X-Git-Tag: V6_5_4_beta1~76 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=8558350d3c7b105b520922dc8dd1666da8cadd22;p=occt-copy.git 0023295: A part of conditional expression is always true Checking if curve type is GeomAbs_BSplineCurve. --- diff --git a/src/BOPTools/BOPTools_PaveFiller_3.cxx b/src/BOPTools/BOPTools_PaveFiller_3.cxx index d27a8945b8..e81ba3fbf5 100755 --- a/src/BOPTools/BOPTools_PaveFiller_3.cxx +++ b/src/BOPTools/BOPTools_PaveFiller_3.cxx @@ -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; } //