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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user