Clear Coverity "Uninitialized pointer field (UNINIT_CTOR)"

CID 148083
pull/326/head
Jeffrey Walton 2016-10-01 01:24:19 -04:00
parent 8d840ecd8e
commit b7061f5b6e
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 6 additions and 2 deletions

View File

@ -45,8 +45,12 @@ unsigned int WaitObjectContainer::MaxWaitObjects()
}
WaitObjectContainer::WaitObjectContainer(WaitObjectsTracer* tracer)
: m_tracer(tracer), m_eventTimer(Timer::MILLISECONDS), m_lastResult(0)
, m_sameResultCount(0), m_noWaitTimer(Timer::MILLISECONDS)
: m_tracer(tracer),
#ifdef USE_WINDOWS_STYLE_SOCKETS
m_startWaiting(0), m_stopWaiting(0),
#endif
m_firstEventTime(0.0f), m_eventTimer(Timer::MILLISECONDS), m_lastResult(0),
m_sameResultCount(0), m_noWaitTimer(Timer::MILLISECONDS)
{
Clear();
m_eventTimer.StartTimer();