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)
committervsr <vsr@opencascade.com>
Fri, 23 Nov 2012 11:44:47 +0000 (15:44 +0400)
commite9c15c4cec2b9edd20e9b636cde36ec3d094cddd
treeb24c1904834f4ba08b5a58d10ec76ed88a6d6c82
parent4e76d93bf1fe06ae2256d577828f4da7f6d27f0e
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
src/STEPControl/STEPControl_Reader.cxx
tests/bugs/step/bug23567 [new file with mode: 0755]