1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

@@ -298,9 +298,9 @@ void BRepAlgo_Image::Filter(const TopoDS_Shape& S,
Change = Standard_False;
TopTools_DataMapIteratorOfDataMapOfShapeShape mit(up);
for (; mit.More(); mit.Next()) {
const TopoDS_Shape& S = mit.Key();
if (S.ShapeType() == T && !M.Contains(S)) {
Remove(S);
const TopoDS_Shape& aS = mit.Key();
if (aS.ShapeType() == T && !M.Contains(aS)) {
Remove(aS);
Change = Standard_True;
break;
}