return NULL when return type is bool doesn't seem such a good idea.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1250211
This commit is contained in:
parent
b4d02bda27
commit
9ce638238c
|
@ -224,7 +224,7 @@ bool PartitionTable::getUnallocatedRange(const Device& device, PartitionNode& pa
|
||||||
if (extended == NULL)
|
if (extended == NULL)
|
||||||
{
|
{
|
||||||
kWarning() << "extended is null. start: " << start << ", end: " << end << ", device: " << device.deviceNode();
|
kWarning() << "extended is null. start: " << start << ", end: " << end << ", device: " << device.deviceNode();
|
||||||
return NULL;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Leave a track (cylinder aligned) or sector alignment sectors (sector based) free at the
|
// Leave a track (cylinder aligned) or sector alignment sectors (sector based) free at the
|
||||||
|
|
Loading…
Reference in New Issue