initialize msg_type in debug handler

This commit is contained in:
itsmattkc
2019-09-26 13:44:04 +10:00
parent c30236e693
commit 887e1ddf61
+1 -1
View File
@@ -5,7 +5,7 @@ void DebugHandler(QtMsgType type, const QMessageLogContext &context, const QStri
{
QByteArray localMsg = msg.toLocal8Bit();
const char* msg_type;
const char* msg_type = "UNKNOWN";
switch (type) {
case QtDebugMsg:
msg_type = "DEBUG";