Initialise BuildContext::m_messages to null pointers

Fixes warning reported by Coverity Scan
This commit is contained in:
Ben Hymers
2016-03-15 07:56:56 +00:00
parent e4791becd5
commit 58bd564438
+2
View File
@@ -20,6 +20,8 @@ BuildContext::BuildContext() :
m_messageCount(0),
m_textPoolSize(0)
{
memset(m_messages, 0, sizeof(char*) * MAX_MESSAGES);
resetTimers();
}