Remove unnecessary semicolons.

This commit is contained in:
Andrius Štikonas 2017-11-12 14:55:55 +00:00
parent fad8a3568e
commit be7ba11f17
1 changed files with 32 additions and 32 deletions

View File

@ -94,7 +94,7 @@ FileSystem::FileSystem(qint64 firstsector, qint64 lastsector, qint64 sectorsused
*/ */
qint64 FileSystem::readUsedCapacity(const QString& deviceNode) const qint64 FileSystem::readUsedCapacity(const QString& deviceNode) const
{ {
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
return -1; return -1;
} }
@ -202,7 +202,7 @@ bool FileSystem::createWithLabel(Report& report, const QString& deviceNode, cons
*/ */
void FileSystem::scan(const QString& deviceNode) void FileSystem::scan(const QString& deviceNode)
{ {
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
} }
/** Resize a FileSystem to a given new length /** Resize a FileSystem to a given new length
@ -229,10 +229,10 @@ bool FileSystem::resize(Report& report, const QString& deviceNode, qint64 newLen
*/ */
bool FileSystem::resizeOnline(Report& report, const QString& deviceNode, const QString& mountPoint, qint64 newLength) const bool FileSystem::resizeOnline(Report& report, const QString& deviceNode, const QString& mountPoint, qint64 newLength) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
Q_UNUSED(mountPoint); Q_UNUSED(mountPoint)
Q_UNUSED(newLength); Q_UNUSED(newLength)
return true; return true;
} }
@ -245,9 +245,9 @@ bool FileSystem::resizeOnline(Report& report, const QString& deviceNode, const Q
*/ */
bool FileSystem::move(Report& report, const QString& deviceNode, qint64 newStartSector) const bool FileSystem::move(Report& report, const QString& deviceNode, qint64 newStartSector) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
Q_UNUSED(newStartSector); Q_UNUSED(newStartSector)
return true; return true;
} }
@ -260,9 +260,9 @@ bool FileSystem::move(Report& report, const QString& deviceNode, qint64 newStart
*/ */
bool FileSystem::writeLabel(Report& report, const QString& deviceNode, const QString& newLabel) bool FileSystem::writeLabel(Report& report, const QString& deviceNode, const QString& newLabel)
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
Q_UNUSED(newLabel); Q_UNUSED(newLabel)
return true; return true;
} }
@ -276,10 +276,10 @@ bool FileSystem::writeLabel(Report& report, const QString& deviceNode, const QSt
*/ */
bool FileSystem::writeLabelOnline(Report& report, const QString& deviceNode, const QString& mountPoint, const QString& newLabel) bool FileSystem::writeLabelOnline(Report& report, const QString& deviceNode, const QString& mountPoint, const QString& newLabel)
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
Q_UNUSED(mountPoint); Q_UNUSED(mountPoint)
Q_UNUSED(newLabel); Q_UNUSED(newLabel)
return true; return true;
} }
@ -292,9 +292,9 @@ bool FileSystem::writeLabelOnline(Report& report, const QString& deviceNode, con
*/ */
bool FileSystem::copy(Report& report, const QString& targetDeviceNode, const QString& sourceDeviceNode) const bool FileSystem::copy(Report& report, const QString& targetDeviceNode, const QString& sourceDeviceNode) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(targetDeviceNode); Q_UNUSED(targetDeviceNode)
Q_UNUSED(sourceDeviceNode); Q_UNUSED(sourceDeviceNode)
return true; return true;
} }
@ -308,10 +308,10 @@ bool FileSystem::copy(Report& report, const QString& targetDeviceNode, const QSt
*/ */
bool FileSystem::backup(Report& report, const Device& sourceDevice, const QString& deviceNode, const QString& filename) const bool FileSystem::backup(Report& report, const Device& sourceDevice, const QString& deviceNode, const QString& filename) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(sourceDevice); Q_UNUSED(sourceDevice)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
Q_UNUSED(filename); Q_UNUSED(filename)
return false; return false;
} }
@ -323,8 +323,8 @@ bool FileSystem::backup(Report& report, const Device& sourceDevice, const QStrin
*/ */
bool FileSystem::remove(Report& report, const QString& deviceNode) const bool FileSystem::remove(Report& report, const QString& deviceNode) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
return true; return true;
} }
@ -336,8 +336,8 @@ bool FileSystem::remove(Report& report, const QString& deviceNode) const
*/ */
bool FileSystem::check(Report& report, const QString& deviceNode) const bool FileSystem::check(Report& report, const QString& deviceNode) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
return true; return true;
} }
@ -349,8 +349,8 @@ bool FileSystem::check(Report& report, const QString& deviceNode) const
*/ */
bool FileSystem::updateUUID(Report& report, const QString& deviceNode) const bool FileSystem::updateUUID(Report& report, const QString& deviceNode) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
return true; return true;
} }
@ -372,8 +372,8 @@ QString FileSystem::readUUID(const QString& deviceNode) const
*/ */
bool FileSystem::updateBootSector(Report& report, const QString& deviceNode) const bool FileSystem::updateBootSector(Report& report, const QString& deviceNode) const
{ {
Q_UNUSED(report); Q_UNUSED(report)
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
return true; return true;
} }
@ -507,7 +507,7 @@ void FileSystem::move(qint64 newStartSector)
} }
bool FileSystem::canMount(const QString& deviceNode, const QString& mountPoint) const bool FileSystem::canMount(const QString& deviceNode, const QString& mountPoint) const
{ {
Q_UNUSED(deviceNode); Q_UNUSED(deviceNode)
// cannot mount if we have no mount points // cannot mount if we have no mount points
return !mountPoint.isEmpty(); return !mountPoint.isEmpty();
} }