From e47f6df07662feb15c30a7f4bd0df3d1c23a022b Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 21 May 2018 17:55:19 +0200 Subject: subsurface: Change Q_UNUSED to no parameter name C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen --- subsurface-desktop-main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'subsurface-desktop-main.cpp') diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp index af835f5f2..a1d2dcb28 100644 --- a/subsurface-desktop-main.cpp +++ b/subsurface-desktop-main.cpp @@ -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: -- cgit v1.2.3-70-g09d2