1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

Elimination of compiler warnings

This commit is contained in:
imn
2017-03-24 12:25:37 +03:00
committed by bugmaster
parent 3b77eff652
commit 811d6b7d4a
3 changed files with 13 additions and 13 deletions

View File

@@ -1382,8 +1382,8 @@ Standard_Integer unifysamedomgen(Draw_Interpretor& di,
aBB.MakeCompound(aRes);
TopTools_ListIteratorOfListOfShape aIt(aLS);
for (; aIt.More(); aIt.Next()) {
const TopoDS_Shape& aShape = aIt.Value();
aBB.Add(aRes, aShape);
const TopoDS_Shape& aCurrentShape = aIt.Value();
aBB.Add(aRes, aCurrentShape);
}
DBRep::Set(a[1], aRes);
}
@@ -1419,8 +1419,8 @@ Standard_Integer unifysamedommod(Draw_Interpretor& di,
aBB.MakeCompound(aRes);
TopTools_ListIteratorOfListOfShape aIt(aLS);
for (; aIt.More(); aIt.Next()) {
const TopoDS_Shape& aShape = aIt.Value();
aBB.Add(aRes, aShape);
const TopoDS_Shape& aCurrentShape = aIt.Value();
aBB.Add(aRes, aCurrentShape);
}
DBRep::Set(a[1], aRes);
}