occt: master 4e76d93b

Author Committer Branch Timestamp Parent
omy omy master 2012-11-16 09:30:31 master 49f38e37
Affected Issues  0023132: Suspicious code snippets
Changeset 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
mod - src/BRepFill/BRepFill_OffsetWire.cxx Diff File
mod - src/GeomFill/GeomFill_LocationGuide.cxx Diff File
mod - src/IFSelect/IFSelect_WorkSession.cxx Diff File
mod - src/IntTools/IntTools_EdgeFace.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndAreaUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx Diff File
mod - src/RWStepBasic/RWStepBasic_RWSiUnitAndVolumeUnit.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_ShapeIntersector2d.cxx Diff File
mod - src/TopOpeBRepTool/TopOpeBRepTool_mkTondgE.cxx Diff File