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:
@@ -616,9 +616,9 @@ BRepCheck_Status BRepCheck_Edge::
|
||||
{
|
||||
const Standard_Real aParam = aPOnTriag->Parameters()->Value(i);
|
||||
const gp_Pnt aPE(aBC.Value(aParam)),
|
||||
aPT(Nodes(anIndices(i)).Transformed(aLL));
|
||||
aPnt(Nodes(anIndices(i)).Transformed(aLL));
|
||||
|
||||
const Standard_Real aSQDist = aPE.SquareDistance(aPT);
|
||||
const Standard_Real aSQDist = aPE.SquareDistance(aPnt);
|
||||
if(aSQDist > aTol*aTol)
|
||||
{
|
||||
return BRepCheck_InvalidPolygonOnTriangulation;
|
||||
|
Reference in New Issue
Block a user