From d1f2208eec96a0f0f3ee12b5c65ff64e94647deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Sun, 14 Jan 2018 14:20:04 +0100 Subject: Fix QNX 7 build Missing return value after 114f795221. Task-number: QTBUG-65747 Change-Id: I8881fc70f76a163e7b1f032c7a7485ab09f852b1 Reviewed-by: Liang Qi --- src/corelib/global/qlogging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib/global/qlogging.cpp') diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index 54064f6c1c..e7305f4106 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -1338,7 +1338,7 @@ static bool slog2_default_handler(QtMsgType type, const QMessageLogContext &cont fprintf(stderr, "Error registering slogger2 buffer!\n"); fprintf(stderr, "%s", formattedMessage.toLocal8Bit().constData()); fflush(stderr); - return; + return false; } // Set as the default buffer @@ -1346,7 +1346,7 @@ static bool slog2_default_handler(QtMsgType type, const QMessageLogContext &cont } int severity; //Determines the severity level - switch (msgType) { + switch (type) { case QtDebugMsg: severity = SLOG2_DEBUG1; break; -- cgit v1.2.3