forked from 0ad/0ad
Fix uninitialised value in logger.
This was SVN commit r7705.
This commit is contained in:
parent
b539188810
commit
32933c501a
@ -90,15 +90,15 @@ CLogger::CLogger(std::ostream* mainLog, std::ostream* interestingLog, bool takeO
|
||||
m_OwnsStreams = takeOwnership;
|
||||
m_UseDebugPrintf = useDebugPrintf;
|
||||
|
||||
m_RenderLastEraseTime = -1.0;
|
||||
// this is called too early to allow us to call timer_Time(),
|
||||
// so we'll fill in the initial value later
|
||||
|
||||
Init();
|
||||
}
|
||||
|
||||
void CLogger::Init()
|
||||
{
|
||||
m_RenderLastEraseTime = -1.0;
|
||||
// this is called too early to allow us to call timer_Time(),
|
||||
// so we'll fill in the initial value later
|
||||
|
||||
m_NumberOfMessages = 0;
|
||||
m_NumberOfErrors = 0;
|
||||
m_NumberOfWarnings = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user