summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatternssdk/ErrorHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xmlpatternssdk/ErrorHandler.cpp')
-rw-r--r--tests/auto/xmlpatternssdk/ErrorHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternssdk/ErrorHandler.cpp b/tests/auto/xmlpatternssdk/ErrorHandler.cpp
index 5b21d83..74a6a6d 100644
--- a/tests/auto/xmlpatternssdk/ErrorHandler.cpp
+++ b/tests/auto/xmlpatternssdk/ErrorHandler.cpp
@@ -88,7 +88,8 @@ void qMessageHandler(QtMsgType type, const QMessageLogContext &, const QString &
return;
}
case QtDebugMsg: /* This enum is handled above in the if-clause. */
- case QtTraceMsg:
+ /* Fallthrough. */
+ default:
{
Q_ASSERT(false);
return;