fix uninitialized-variable issues (were unused initialized, but triggers some memory checking tools)
This commit is contained in:
@@ -64,9 +64,15 @@ struct PhysicsDirectInternalData
|
||||
PhysicsDirectInternalData()
|
||||
:m_hasStatus(false),
|
||||
m_verboseOutput(false),
|
||||
m_cachedCameraPixelsWidth(0),
|
||||
m_cachedCameraPixelsHeight(0),
|
||||
m_commandProcessor(NULL),
|
||||
m_ownsCommandProcessor(false),
|
||||
m_timeOutInSeconds(1e30)
|
||||
{
|
||||
memset(&m_command, 0, sizeof(m_command));
|
||||
memset(&m_serverStatus, 0, sizeof(m_serverStatus));
|
||||
memset(m_bulletStreamDataServerToClient, 0, sizeof(m_bulletStreamDataServerToClient));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user