]> OCCT Git - occt-copy.git/commit
0023567: Wrong STEP unit is returned by STEPControl_Reader.FileUnits() function
authorvsr <vsr@opencascade.com>
Fri, 23 Nov 2012 11:44:47 +0000 (15:44 +0400)
committerskv <skv@opencascade.com>
Thu, 21 Feb 2013 09:14:55 +0000 (13:14 +0400)
commit53fdf42576b6611568f5933ea37dccda7fe5c1f1
tree3f9441c47b8a41790abedd98681e25ee26808704
parente40c7b930d553fa09fd516716e1dc02dcdc95df1
0023567: Wrong STEP unit is returned by STEPControl_Reader.FileUnits() function

Fix bug with using of uninitialized variable.
New version of patch: pass unit object to the getSiName() function directly.
Test case for this bug

Signed-off-by: skv <skv@opencascade.com>
src/STEPControl/STEPControl_Reader.cxx
tests/bugs/step/bug23567 [new file with mode: 0755]