[umount] Remove/mark unused parameters

This commit is contained in:
Adriaan de Groot 2022-02-08 16:35:04 +01:00
parent 3b55c2805a
commit c7cc599a19

View File

@ -80,7 +80,7 @@ unmountTargetMounts( const QString& rootMountPoint )
} }
static Calamares::JobResult static Calamares::JobResult
exportZFSPools( const QString& rootMountPoint ) exportZFSPools()
{ {
auto* gs = Calamares::JobQueue::instance()->globalStorage(); auto* gs = Calamares::JobQueue::instance()->globalStorage();
QStringList poolNames; QStringList poolNames;
@ -140,7 +140,7 @@ UmountJob::exec()
} }
// For ZFS systems, export the pools // For ZFS systems, export the pools
{ {
auto r = exportZFSPools( gs->value( "rootMountPoint" ).toString() ); auto r = exportZFSPools();
if ( !r ) if ( !r )
{ {
return r; return r;
@ -153,6 +153,7 @@ UmountJob::exec()
void void
UmountJob::setConfigurationMap( const QVariantMap& map ) UmountJob::setConfigurationMap( const QVariantMap& map )
{ {
Q_UNUSED( map )
} }
CALAMARES_PLUGIN_FACTORY_DEFINITION( UmountJobFactory, registerPlugin< UmountJob >(); ) CALAMARES_PLUGIN_FACTORY_DEFINITION( UmountJobFactory, registerPlugin< UmountJob >(); )