Remove unnecessary memset

This commit is contained in:
Kawe Mazidjatari 2023-01-25 22:15:27 +01:00
parent 306211a1b4
commit 1e24e34519

View File

@ -20,7 +20,6 @@ void BuildContext::doResetLog()
{ {
m_messageCount = 0; m_messageCount = 0;
m_textPoolSize = 0; m_textPoolSize = 0;
memset(m_textPool, '\0', sizeof(m_textPool));
} }
void BuildContext::doLog(const rcLogCategory category, const char* msg, const int len) void BuildContext::doLog(const rcLogCategory category, const char* msg, const int len)