mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-07 13:18:19 +08: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:
@@ -743,7 +743,7 @@ static void InGoodPeriod(const Standard_Real Prec,
|
||||
|
||||
if (rotation) {
|
||||
return Standard_False;
|
||||
|
||||
/*
|
||||
#ifdef DEB
|
||||
Standard_Real U = myFirstS + ratio*(Param-myCurve->FirstParameter());
|
||||
#else
|
||||
@@ -862,7 +862,7 @@ static void InGoodPeriod(const Standard_Real Prec,
|
||||
myStatus = GeomFill_ImpossibleContact;
|
||||
return Standard_False;
|
||||
}
|
||||
|
||||
*/
|
||||
}//if_rotation
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user