Added cppcheck workflow

This commit is contained in:
SChernykh
2021-09-05 12:51:20 +02:00
parent abf5918da9
commit 4deef2f807
6 changed files with 37 additions and 1 deletions

View File

@@ -240,6 +240,7 @@ static Worker worker;
#endif // P2POOL_LOG_DISABLE
// cppcheck-suppress uninitMemberVar
NOINLINE Writer::Writer(Severity severity) : Stream(m_stackBuf)
{
m_buf[0] = static_cast<char>(severity);