Skip to content

Commit 9ad7384

Browse files
committed
Merge branch 'main' into bugfix/logging
2 parents ccd6dc4 + 484b6f5 commit 9ad7384

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/Utilities/src/Logging.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,14 @@ class Logging
359359
/**
360360
* Construct Logging.
361361
*/
362-
Logging() : m_currentLogLevel(LOG_LEVEL_INFO), m_sinks{nullptr}, m_selectedSink(nullptr)
362+
Logging() : m_currentLogLevel(LOG_LEVEL_INFO), m_sinks(), m_selectedSink(nullptr)
363363
{
364+
uint8_t index = 0U;
365+
366+
for (index = 0U; index < MAX_SINKS; ++index)
367+
{
368+
m_sinks[index] = nullptr;
369+
}
364370
}
365371

366372
/**

0 commit comments

Comments
 (0)