diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-21 17:55:19 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-21 12:48:04 -0700 |
commit | e47f6df07662feb15c30a7f4bd0df3d1c23a022b (patch) | |
tree | 8e552deb7d63ca2b376838052aea712811cdcb20 /subsurface-desktop-main.cpp | |
parent | b0e48a5e8f8b558ed7377d941ddfb96c02387a1f (diff) | |
download | subsurface-e47f6df07662feb15c30a7f4bd0df3d1c23a022b.tar.gz |
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>
Diffstat (limited to 'subsurface-desktop-main.cpp')
-rw-r--r-- | subsurface-desktop-main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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: |