mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-08-13 08:59:25 +00:00
Initialise BuildContext::m_messages to null pointers
Fixes warning reported by Coverity Scan
This commit is contained in:
@@ -20,6 +20,8 @@ BuildContext::BuildContext() :
|
||||
m_messageCount(0),
|
||||
m_textPoolSize(0)
|
||||
{
|
||||
memset(m_messages, 0, sizeof(char*) * MAX_MESSAGES);
|
||||
|
||||
resetTimers();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user