Initialise BuildContext::m_messages to null pointers
Fixes warning reported by Coverity Scan
This commit is contained in:
parent
e4791becd5
commit
58bd564438
@ -20,6 +20,8 @@ BuildContext::BuildContext() :
|
|||||||
m_messageCount(0),
|
m_messageCount(0),
|
||||||
m_textPoolSize(0)
|
m_textPoolSize(0)
|
||||||
{
|
{
|
||||||
|
memset(m_messages, 0, sizeof(char*) * MAX_MESSAGES);
|
||||||
|
|
||||||
resetTimers();
|
resetTimers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user