1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026586: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides previous local declaration

Eliminated warnings about "declaration of some local variable hides previous local declaration"
This commit is contained in:
ski
2015-09-08 15:41:26 +03:00
committed by bugmaster
parent 695c6eed26
commit 5174095875
186 changed files with 1382 additions and 1466 deletions

View File

@@ -2434,8 +2434,8 @@ Standard_Boolean ShapeFix_Face::FixSplitFace(const TopTools_DataMapOfShapeListOf
const TopTools_ListOfShape& IntWires = MapWires.Find(wire);
TopTools_ListIteratorOfListOfShape liter(IntWires);
for( ; liter.More(); liter.Next()) {
TopoDS_Shape aShape = tmpFace.EmptyCopied();
TopoDS_Face aFace = TopoDS::Face ( aShape );
TopoDS_Shape aShapeEmptyCopied = tmpFace.EmptyCopied();
TopoDS_Face aFace = TopoDS::Face ( aShapeEmptyCopied);
aFace.Orientation ( TopAbs_FORWARD );
B.Add (aFace,liter.Value());
BRepTopAdaptor_FClass2d clas (aFace,::Precision::PConfusion());