1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0026583: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides function parameter

Eliminated warnings about "declaration of local variable hides function parameter"
This commit is contained in:
ski
2015-09-09 12:56:09 +03:00
committed by bugmaster
parent f0d3b7afa9
commit 464cd2fb16
10 changed files with 64 additions and 64 deletions

View File

@@ -42,14 +42,14 @@
//purpose :
//=======================================================================
static void Propagate(const TopTools_IndexedDataMapOfShapeListOfShape& mapEF,
const TopoDS_Shape& fac,
const TopoDS_Shape& theFac,
TopTools_MapOfShape& mapF)
{
if (mapF.Contains(fac))
if (mapF.Contains(theFac))
{
return;
}
mapF.Add(fac); // attention, if oriented == Standard_True, fac should
mapF.Add(theFac); // attention, if oriented == Standard_True, fac should
// be FORWARD or REVERSED. It is not checked.
TopTools_MapIteratorOfMapOfShape itf(mapF);