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:
committed by
bugmaster
parent
25289ec1e1
commit
6e6cd5d949
@@ -1117,8 +1117,6 @@ static void ExtentEdge(const TopoDS_Edge& E,TopoDS_Edge& NE, const Standard_Real
|
||||
MinLoc = E.Location() * MinLoc;
|
||||
if (!C3d.IsNull())
|
||||
{
|
||||
Standard_Real FirstPar = C3d->FirstParameter();
|
||||
Standard_Real LastPar = C3d->LastParameter();
|
||||
if (MinPC->IsClosed())
|
||||
{
|
||||
f = FirstParOnPC;
|
||||
|
@@ -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();
|
||||
|
@@ -185,10 +185,6 @@ TopAbs_Orientation BRepOffset_Tool::OriEdgeInFace (const TopoDS_Edge& E,
|
||||
const TopoDS_Face& F )
|
||||
|
||||
{
|
||||
#ifdef DEB
|
||||
TopAbs_Orientation O =
|
||||
#endif
|
||||
F.Orientation();
|
||||
TopExp_Explorer Exp;
|
||||
Exp.Init(F.Oriented(TopAbs_FORWARD),TopAbs_EDGE);
|
||||
|
||||
|
Reference in New Issue
Block a user