Remove else clause
This commit is contained in:
parent
aaa2158dc3
commit
7851d9e93b
|
@ -386,10 +386,10 @@ qint64 PartitionTable::defaultFirstUsable(const Device& d, TableType t)
|
|||
Q_UNUSED(t)
|
||||
if (d.type() == Device::LVM_Device) {
|
||||
return 0;
|
||||
} else {
|
||||
const DiskDevice& diskDevice = dynamic_cast<const DiskDevice&>(d);
|
||||
return PartitionAlignment::sectorAlignment(diskDevice);
|
||||
}
|
||||
|
||||
const DiskDevice& diskDevice = dynamic_cast<const DiskDevice&>(d);
|
||||
return PartitionAlignment::sectorAlignment(diskDevice);
|
||||
}
|
||||
|
||||
qint64 PartitionTable::defaultLastUsable(const Device& d, TableType t)
|
||||
|
|
Loading…
Reference in New Issue