Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ca07ad5a authored by Andrius Štikonas's avatar Andrius Štikonas

Silence RAID warnings in master.

parent e5a20926
......@@ -40,6 +40,7 @@ public:
qint64 m_arraySize;
QString m_UUID;
QStringList m_devicePathList;
QStringList m_partitionPathList;
SoftwareRAID::Status m_status;
};
......@@ -70,7 +71,7 @@ const QStringList SoftwareRAID::deviceNodes() const
const QStringList& SoftwareRAID::partitionNodes() const
{
return {};
return d_ptr->m_partitionPathList;
}
qint64 SoftwareRAID::partitionSize(QString &partitionPath) const
......@@ -380,6 +381,11 @@ bool SoftwareRAID::createSoftwareRAID(Report &report,
const qint32 raidLevel,
const qint32 chunkSize)
{
Q_UNUSED(report)
Q_UNUSED(name)
Q_UNUSED(devicePathList)
Q_UNUSED(raidLevel)
Q_UNUSED(chunkSize)
return false;
}
......@@ -453,6 +459,8 @@ void SoftwareRAID::initPartitions()
qint64 SoftwareRAID::mappedSector(const QString &partitionPath, qint64 sector) const
{
Q_UNUSED(partitionPath)
Q_UNUSED(sector)
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment