Skip to content

Commit 4668860

Browse files
committed
Fixed uninitialized value warning in logger
1 parent 5d1f440 commit 4668860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qt/logger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ int Logger::refCount;
1414
void Logger::logHandler(QtMsgType type, const QMessageLogContext &context ,
1515
const QString &msg)
1616
{
17-
const char *prefix;
17+
const char *prefix = "";
1818
QString formatMsg;
1919

2020
(void)context;

0 commit comments

Comments
 (0)