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:
@@ -541,7 +541,8 @@ add_block_devices(NodeList *devicesList, bool identifierMissing)
|
|||||||
|
|
||||||
BIOSDrive::BIOSDrive(uint8 driveID)
|
BIOSDrive::BIOSDrive(uint8 driveID)
|
||||||
:
|
:
|
||||||
fDriveID(driveID)
|
fDriveID(driveID),
|
||||||
|
fSize(0)
|
||||||
{
|
{
|
||||||
TRACE(("drive ID %u\n", driveID));
|
TRACE(("drive ID %u\n", driveID));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user