[partition] Remove unused variables

This commit is contained in:
Adriaan de Groot 2020-10-24 02:24:37 +02:00
parent 89b1f8d96b
commit 27f6eaaf75

View File

@ -110,7 +110,7 @@ updatePreview( Job* job, const std::true_type& )
template < typename Job >
void
updatePreview( Job* job, const std::false_type& )
updatePreview( Job*, const std::false_type& )
{
}
@ -483,7 +483,6 @@ PartitionCoreModule::deletePartition( Device* device, Partition* partition )
}
}
const Calamares::JobList& jobs = deviceInfo->jobs();
if ( partition->state() == KPM_PARTITION_STATE( New ) )
{
// Take all the SetPartFlagsJob from the list and delete them