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

@@ -1020,9 +1020,6 @@ void BRepOffset_MakeOffset::BuildOffsetByInter()
TopoDS_Shape NE;
TopoDS_Edge TNE;
TopoDS_Face NF;
#ifdef DEB
TopAbs_Orientation Or;
#endif
for (Exp.Init(myShape,TopAbs_FACE) ; Exp.More(); Exp.Next()) {
const TopoDS_Face& FI = TopoDS::Face(Exp.Current());
@@ -1549,9 +1546,6 @@ void BRepOffset_MakeOffset::BuildOffsetByArc()
BRepOffset_Type RT = BRepOffset_Concave;
if (myOffset < 0.) RT = BRepOffset_Convex;
BRepOffset_DataMapIteratorOfDataMapOfShapeOffset It(MapSF);
#ifdef DEB
Standard_Integer MapSFNb = MapSF.Extent();
#endif
for ( ; It.More(); It.Next()) {
const TopoDS_Shape& SI = It.Key();
const BRepOffset_Offset& SF = It.Value();