Fixed cppcheck issues

This commit is contained in:
SChernykh
2022-12-22 13:33:44 +01:00
parent a61966ed61
commit dffc8bcea0
7 changed files with 14 additions and 5 deletions

View File

@@ -321,6 +321,7 @@ static Worker worker;
NOINLINE Writer::Writer(Severity severity) : Stream(m_stackBuf)
{
m_stackBuf[BUF_SIZE] = '\0';
m_buf[0] = static_cast<char>(severity);
m_pos = 3;