Clang: reduce warnings, nullptr, unused parameters

This commit is contained in:
Adriaan de Groot 2017-09-21 04:04:01 -04:00
parent 34761c4214
commit e3e519c06f
6 changed files with 14 additions and 14 deletions

View file

@ -78,7 +78,7 @@ FormatPartitionJob::prettyStatusMessage() const
Calamares::JobResult
FormatPartitionJob::exec()
{
Report report( 0 );
Report report( nullptr ); // Root of the report tree, no parent
QString partitionPath = m_partition->partitionPath();
QString message = tr( "The installer failed to format partition %1 on disk '%2'." ).arg( partitionPath, m_device->name() );