Don't dereference nullptr (fix Coverity defect 121863).
This commit is contained in:
parent
53741f0d36
commit
a0ac9d9f07
@ -444,6 +444,11 @@ ChoicePage::doAlongsideSetupSplitter( const QModelIndex& current,
|
||||
return;
|
||||
|
||||
Partition* part = modl->partitionForIndex( current );
|
||||
if ( !part )
|
||||
{
|
||||
cDebug() << Q_FUNC_INFO << "Partition not found for index" << current;
|
||||
return;
|
||||
}
|
||||
|
||||
double requiredStorageGB = Calamares::JobQueue::instance()
|
||||
->globalStorage()
|
||||
|
Loading…
Reference in New Issue
Block a user