Removed unnecessary (and broken) hack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42136 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6436e4676f
commit
e53a1e0f94
@ -400,12 +400,6 @@ BPartition::Delegate::IsSubSystem(Delegate* child,
|
||||
bool
|
||||
BPartition::Delegate::CanInitialize(const char* diskSystem) const
|
||||
{
|
||||
// HACK TO HELP BLANK PARTITION'S BECOME INITIALIZED.
|
||||
if (diskSystem == NULL)
|
||||
return true;
|
||||
if (strlen(diskSystem) < 1)
|
||||
return true;
|
||||
|
||||
// get the disk system add-on
|
||||
DiskSystemAddOnManager* manager = DiskSystemAddOnManager::Default();
|
||||
BDiskSystemAddOn* addOn = manager->GetAddOn(diskSystem);
|
||||
|
Loading…
Reference in New Issue
Block a user