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

0026780: Coding rules - eliminate warnings on Linux and Mac

Fixed a few remaining warnings found by GCC, CLang, and VC++ 14 (recent changes)
This commit is contained in:
abv
2015-11-11 09:32:41 +03:00
parent 7dc2c1656a
commit f2139a7f0f
9 changed files with 41 additions and 46 deletions

View File

@@ -258,8 +258,7 @@ Standard_Boolean ShapeFix_Shape::Perform(const Handle(Message_ProgressIndicator)
//after all fixes.
//This fix it should be performed for example for case when cutting edge was performed.
Handle(ShapeFix_Edge) sfe = FixEdgeTool();
TopExp_Explorer anExpF (myResult, TopAbs_FACE);
for ( ; anExpF.More(); anExpF.Next())
for (anExpF.ReInit(); anExpF.More(); anExpF.Next())
{
TopoDS_Face aF = TopoDS::Face(anExpF.Current());
TopExp_Explorer anExpE (aF, TopAbs_EDGE);