diff --git a/src/libcalamares/CppJob.cpp b/src/libcalamares/CppJob.cpp index b3f2385c6..0512df377 100644 --- a/src/libcalamares/CppJob.cpp +++ b/src/libcalamares/CppJob.cpp @@ -41,7 +41,7 @@ CppJob::setModuleInstanceKey( const QString& instanceKey ) void CppJob::setConfigurationMap( const QVariantMap& configurationMap ) { - Q_UNUSED( configurationMap ); + Q_UNUSED( configurationMap ) } } diff --git a/src/libcalamares/utils/Logger.cpp b/src/libcalamares/utils/Logger.cpp index 5f4401ca1..cbe711698 100644 --- a/src/libcalamares/utils/Logger.cpp +++ b/src/libcalamares/utils/Logger.cpp @@ -99,12 +99,10 @@ log( const char* msg, unsigned int debugLevel ) static void -CalamaresLogHandler( QtMsgType type, const QMessageLogContext& context, const QString& msg ) +CalamaresLogHandler( QtMsgType type, const QMessageLogContext&, const QString& msg ) { static QMutex s_mutex; - Q_UNUSED( context ); - QByteArray ba = msg.toUtf8(); const char* message = ba.constData(); diff --git a/src/libcalamares/utils/PluginFactory.h b/src/libcalamares/utils/PluginFactory.h index 22966b829..7338d53de 100644 --- a/src/libcalamares/utils/PluginFactory.h +++ b/src/libcalamares/utils/PluginFactory.h @@ -269,7 +269,7 @@ protected: template static QObject* createInstance( QWidget* parentWidget, QObject* parent ) { - Q_UNUSED( parentWidget ); + Q_UNUSED( parentWidget ) ParentType* p = nullptr; if ( parent ) {