subsurface: Change Q_UNUSED to no parameter name

C++ permits use of parameters without name, which signals unused

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-21 17:55:19 +02:00 committed by Dirk Hohndel
parent b0e48a5e8f
commit e47f6df076

View file

@ -220,9 +220,8 @@ exit:
}
// install this message handler primarily so that the Windows build can log to files
void messageHandler(QtMsgType type, const QMessageLogContext &ctx, const QString &msg)
void messageHandler(QtMsgType type, const QMessageLogContext&, const QString &msg)
{
Q_UNUSED(ctx);
QByteArray localMsg = msg.toUtf8();
switch (type) {
case QtDebugMsg: