mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0023132: Suspicious code snippets
1) Warning in Aspect.cxx couldn't be reproduced 2) Description of changes: added 'return' statements into ReadStep(...) functions of RWStepBasic_* classes. 3) BRepFill_OffsetWire.cxx - removed dead code; 4) IFSelect_WorkSession.cxx - swapped arguments; 5) TopOpeBRep_ShapeIntersector2d.cxx - removed 'brake' statement and changed loop to if-statement because of void TopOpeBRep_ShapeIntersector2d::FindFFIntersection() function's call features. 6) V2d_RectangularGraphicGrid.cxx - left constants instead of functions beacuse of faster perfomance. 7) Commented unreachable code in files GeomFill_LocationGuide.cxx and TopOpeBRepTool_mkTondgE.cxx
This commit is contained in:
@@ -898,10 +898,10 @@ void IntTools_EdgeFace::CheckData()
|
||||
aCommonPrt.SetVertexParameter1(tm);
|
||||
aCommonPrt.SetRange1 (af1, al1);
|
||||
}
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//
|
||||
/*
|
||||
dt=al1-af1;
|
||||
if (dt<1.e-5) {
|
||||
gp_Pnt aPF, aPL;
|
||||
@@ -940,6 +940,7 @@ void IntTools_EdgeFace::CheckData()
|
||||
aCommonPrt.SetType(TopAbs_EDGE);
|
||||
}
|
||||
}
|
||||
*/
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user