From 9ec94b09e6f80300ff793990c7caaa7585ed698a Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 27 Feb 2017 11:36:53 -0500 Subject: Silence some compile warnings in all the various OS templates. --- src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp') diff --git a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp index 62bbdb1c..5ec9751e 100644 --- a/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp +++ b/src-qt5/core/libLumina/LuminaOS-kFreeBSD.cpp @@ -95,7 +95,7 @@ int LOS::audioVolume(){ //Returns: audio volume as a percentage (0-100, with -1 } //Set the current volume -void LOS::setAudioVolume(int percent){ +void LOS::setAudioVolume(int){ //percent: 0-100 return; } @@ -137,12 +137,14 @@ QString LOS::systemPendingUpdates(){ } //System Shutdown -void LOS::systemShutdown(bool skipupdates){ //start poweroff sequence +void LOS::systemShutdown(bool){ //start poweroff sequence + //INPUT: skip updates (true/false) QProcess::startDetached("shutdown -h now"); } //System Restart -void LOS::systemRestart(bool skipupdates){ //start reboot sequence +void LOS::systemRestart(bool){ //start reboot sequence + //INPUT: skip updates (true/false) QProcess::startDetached("shutdown -r now"); } @@ -177,12 +179,12 @@ int LOS::batterySecondsLeft(){ //Returns: estimated number of seconds remaining } //File Checksums -QStringList LOS::Checksums(QStringList filepaths){ //Return: checksum of the input file +QStringList LOS::Checksums(QStringList){ //Return: checksum of the input file return QStringList(); } //file system capacity -QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as give by the df command +QString LOS::FileSystemCapacity(QString) { //Return: percentage capacity as give by the df command return QString(); } @@ -202,4 +204,3 @@ QStringList LOS::DiskUsage(){ //Returns: List of current read/write stats for ea return QStringList(); //not implemented yet } #endif -#endif -- cgit