mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +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:
@@ -362,16 +362,16 @@ void BRepMesh_Delaun::createTriangles(const Standard_Integer theVertexIn
|
||||
Standard_Boolean isSensOK = (aDist12 > 0. && aDist23 > 0.);
|
||||
if (isSensOK)
|
||||
{
|
||||
Standard_Integer anEdges[3];
|
||||
Standard_Integer anEdgeIds[3];
|
||||
Standard_Boolean anEdgesOri[3];
|
||||
for ( Standard_Integer aTriLinkIt = 0; aTriLinkIt < 3; ++aTriLinkIt )
|
||||
{
|
||||
const Standard_Integer& anEdgeInfo = anEdgesInfo[aTriLinkIt];
|
||||
anEdges[aTriLinkIt] = Abs( anEdgeInfo );
|
||||
anEdgeIds[aTriLinkIt] = Abs( anEdgeInfo );
|
||||
anEdgesOri[aTriLinkIt] = anEdgeInfo > 0;
|
||||
}
|
||||
|
||||
addTriangle( anEdges, anEdgesOri, aNodes );
|
||||
addTriangle(anEdgeIds, anEdgesOri, aNodes );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -59,7 +59,6 @@ BRepMesh_EdgeTessellator::BRepMesh_EdgeTessellator(
|
||||
else
|
||||
myCOnS.Initialize(theEdge, theFaceAttribute->Face());
|
||||
|
||||
TopLoc_Location aLoc;
|
||||
const GeomAbs_CurveType aCurveType = myCOnS.GetType();
|
||||
Standard_Integer aMinPntNb = (aCurveType == GeomAbs_Circle) ? 4 : 2; //OCC287
|
||||
|
||||
|
Reference in New Issue
Block a user