diff --git a/src/apps/cortex/addons/LoggingConsumer/LogWriter.cpp b/src/apps/cortex/addons/LoggingConsumer/LogWriter.cpp index cbe92c30b2..ae62afa75d 100644 --- a/src/apps/cortex/addons/LoggingConsumer/LogWriter.cpp +++ b/src/apps/cortex/addons/LoggingConsumer/LogWriter.cpp @@ -136,7 +136,7 @@ LogWriter::~LogWriter() { printf("LogWriter::~LogWriter() called\n"); status_t err; - log_message msg; + log_message msg = {}; Log(LOG_QUIT, msg); ::wait_for_thread(mLogThread, &err);