coverity#738941 Uninitialized pointer field

Change-Id: Id7d9e1700c513ffe72ffc4fa8d369d07370a4db9
This commit is contained in:
Caolán McNamara
2014-03-19 15:54:10 +00:00
parent 03108f65a9
commit 2e252aaf1b

View File

@@ -124,10 +124,16 @@ class ICEConnectionObserver
public:
osl::Mutex m_ICEMutex;
ICEConnectionObserver():
m_pFilehandles(NULL), m_nConnections(0), m_pConnections(NULL),
m_ICEThread(NULL)
{ m_nWakeupFiles[0] = m_nWakeupFiles[1] = 0; }
ICEConnectionObserver()
: m_pFilehandles(NULL)
, m_nConnections(0)
, m_pConnections(NULL)
, m_ICEThread(NULL)
, m_origIOErrorHandler(NULL)
, m_origErrorHandler(NULL)
{
m_nWakeupFiles[0] = m_nWakeupFiles[1] = 0;
}
void activate();
void deactivate();