Fix QNX 7 build

Missing return value after 114f795221.

Task-number: QTBUG-65747
Change-Id: I8881fc70f76a163e7b1f032c7a7485ab09f852b1
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Tor Arne Vestbø 2018-01-14 14:20:04 +01:00 committed by Liang Qi
parent e459130e70
commit d1f2208eec

View File

@ -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;