mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-26 03:45:44 -05:00
[umount] Remove/mark unused parameters
This commit is contained in:
parent
3b55c2805a
commit
c7cc599a19
1 changed files with 3 additions and 2 deletions
|
@ -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 >(); )
|
||||||
|
|
Loading…
Add table
Reference in a new issue