1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0022922: Clean up warnings on uninitialized / unused variables

This commit is contained in:
dbv@opencascade.com
2012-03-07 17:00:48 +04:00
committed by bugmaster
parent 25289ec1e1
commit 6e6cd5d949
226 changed files with 151 additions and 1471 deletions

View File

@@ -118,10 +118,7 @@ static Standard_Boolean FindPointOnFace(const TopoDS_Face& face, gp_Pnt2d& pt2d)
// verify that (upar vpar) is a point on the face
BRepClass_FaceClassifier fClass(face, pt2d, gp::Resolution());
#ifdef DEB
TopAbs_State state =
#endif
fClass.State();
if ((fClass.State() == TopAbs_OUT) || (fClass.State() == TopAbs_UNKNOWN)) {
// try to find a point on face
pt2d=points(1);

View File

@@ -71,11 +71,6 @@ void DsgPrs_XYZAxisPresentation::Add(const Handle(Prs3d_Presentation)& aPresenta
A(1).SetCoord(xo,yo,zo);
A(2).SetCoord(x,y,z);
#ifdef DEB
Quantity_Length arrowAngle = anArrowAspect->Angle();
Quantity_Length textHeight = aTextAspect->Height();
#endif
G->SetPrimitivesAspect(aLineAspect->Aspect());
G->Polyline(A);
G->SetPrimitivesAspect( anArrowAspect->Aspect() );