diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-01-14 14:20:04 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-01-14 19:54:08 +0000 |
commit | d1f2208eec96a0f0f3ee12b5c65ff64e94647deb (patch) | |
tree | cc53c9890b7a0f8c78b329e5d56dd2a2bd6d653b /src/corelib/global/qlogging.cpp | |
parent | e459130e70b7c60ad3a768b09a581999458906e0 (diff) |
Fix QNX 7 build
Missing return value after 114f795221.
Task-number: QTBUG-65747
Change-Id: I8881fc70f76a163e7b1f032c7a7485ab09f852b1
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
-rw-r--r-- | src/corelib/global/qlogging.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |