1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +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

@@ -753,11 +753,6 @@ void TPrsStd_ConstraintTools::ComputeAngleForOneFace (const Handle(TDataXtd_Cons
TCollection_ExtendedString txt;
TPrsStd_ConstraintTools::ComputeTextAndValue (aConst,val1,txt,Standard_True);
// Unused :
#ifdef DEB
Standard_Boolean isface(shape.ShapeType()==TopAbs_FACE);
#endif
Handle(AIS_AngleDimension) ais;
TopoDS_Face face;
if (!anAIS.IsNull()) {
@@ -777,11 +772,6 @@ void TPrsStd_ConstraintTools::ComputeAngleForOneFace (const Handle(TDataXtd_Cons
ais = new AIS_AngleDimension ( face, val1, txt);
}
// Unused :
#ifdef DEB
Standard_Integer ExtShape(0);
#endif
anAIS = ais;
}
@@ -1149,10 +1139,6 @@ void TPrsStd_ConstraintTools::ComputeRadius (const Handle(TDataXtd_Constraint)&
ComputeTextAndValue(aConst,val1,txt,Standard_False);
// Update de l'AIS
// Unused :
#ifdef DEB
Standard_Boolean tocreate = Standard_True;
#endif
Standard_Boolean isplanar(aConst->IsPlanar());
if (isplanar) GetGoodShape(shape1);
@@ -1233,10 +1219,6 @@ void TPrsStd_ConstraintTools::ComputeMinRadius (const Handle(TDataXtd_Constraint
ComputeTextAndValue(aConst,val1,txt,Standard_False);
// Update de l'AIS
// Unused :
#ifdef DEB
Standard_Boolean tocreate = Standard_True;
#endif
Standard_Boolean isplanar(aConst->IsPlanar());
if (isplanar) GetGoodShape(shape1);
@@ -1316,10 +1298,6 @@ void TPrsStd_ConstraintTools::ComputeMaxRadius (const Handle(TDataXtd_Constraint
ComputeTextAndValue(aConst,val1,txt,Standard_False);
// Update de l'AIS
// Unused :
#ifdef DEB
Standard_Boolean tocreate = Standard_True;
#endif
Standard_Boolean isplanar(aConst->IsPlanar());
if (isplanar) GetGoodShape(shape1);