From 17d0cdda149f7c85994077b8580567bfaec9f0d0 Mon Sep 17 00:00:00 2001 From: Josip Medved Date: Thu, 7 Jan 2021 18:03:01 -0800 Subject: [PATCH] Removing Linux compile warnings --- src/medo/appsetupmutex.cpp | 2 ++ src/medo/upgrade.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/medo/appsetupmutex.cpp b/src/medo/appsetupmutex.cpp index f3f5304..92be3f4 100644 --- a/src/medo/appsetupmutex.cpp +++ b/src/medo/appsetupmutex.cpp @@ -17,6 +17,8 @@ AppSetupMutex::AppSetupMutex(const QString& mutexName) { } else { qDebug().noquote() << "[AppSetupMutex]" << mutexName << "could not be created"; } +#else + Q_UNUSED(mutexName) #endif } diff --git a/src/medo/upgrade.cpp b/src/medo/upgrade.cpp index 5de55d5..f1687b1 100644 --- a/src/medo/upgrade.cpp +++ b/src/medo/upgrade.cpp @@ -83,6 +83,7 @@ bool Upgrade::showDialog(QWidget* parent, QUrl serviceUrl) { QApplication::restoreOverrideCursor(); }); #else //just show Close button if not Windows + Q_UNUSED( buttonDownload ) buttonBox.setStandardButtons(QDialogButtonBox::Close); #endif