[libcalamares] Warnings-- over extra ;

This commit is contained in:
Adriaan de Groot 2019-04-17 10:57:29 +02:00
parent 1f66062c81
commit 92b60dac65
3 changed files with 3 additions and 5 deletions

View File

@ -41,7 +41,7 @@ CppJob::setModuleInstanceKey( const QString& instanceKey )
void void
CppJob::setConfigurationMap( const QVariantMap& configurationMap ) CppJob::setConfigurationMap( const QVariantMap& configurationMap )
{ {
Q_UNUSED( configurationMap ); Q_UNUSED( configurationMap )
} }
} }

View File

@ -99,12 +99,10 @@ log( const char* msg, unsigned int debugLevel )
static void static void
CalamaresLogHandler( QtMsgType type, const QMessageLogContext& context, const QString& msg ) CalamaresLogHandler( QtMsgType type, const QMessageLogContext&, const QString& msg )
{ {
static QMutex s_mutex; static QMutex s_mutex;
Q_UNUSED( context );
QByteArray ba = msg.toUtf8(); QByteArray ba = msg.toUtf8();
const char* message = ba.constData(); const char* message = ba.constData();

View File

@ -269,7 +269,7 @@ protected:
template<class impl, class ParentType> template<class impl, class ParentType>
static QObject* createInstance( QWidget* parentWidget, QObject* parent ) static QObject* createInstance( QWidget* parentWidget, QObject* parent )
{ {
Q_UNUSED( parentWidget ); Q_UNUSED( parentWidget )
ParentType* p = nullptr; ParentType* p = nullptr;
if ( parent ) if ( parent )
{ {