Always initialize fSize in the BIOSDrive constructor -- InitCheck() uses it

(CID 10272).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40077 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2011-01-02 23:03:01 +00:00
parent b2330bb319
commit 447e61909f

View File

@ -541,7 +541,8 @@ add_block_devices(NodeList *devicesList, bool identifierMissing)
BIOSDrive::BIOSDrive(uint8 driveID)
:
fDriveID(driveID)
fDriveID(driveID),
fSize(0)
{
TRACE(("drive ID %u\n", driveID));