summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xmlpatterns/api/qcoloringmessagehandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmlpatterns/api/qcoloringmessagehandler.cpp b/src/xmlpatterns/api/qcoloringmessagehandler.cpp
index 942d9df..2e2f07b 100644
--- a/src/xmlpatterns/api/qcoloringmessagehandler.cpp
+++ b/src/xmlpatterns/api/qcoloringmessagehandler.cpp
@@ -130,6 +130,7 @@ void ColoringMessageHandler::handleMessage(QtMsgType type,
case QtCriticalMsg:
/* Fallthrough. */
case QtDebugMsg:
+ default:
{
Q_ASSERT_X(false, Q_FUNC_INFO,
"message() is not supposed to receive QtCriticalMsg or QtDebugMsg.");