From 2e252aaf1bee9b5db42ef9c0e3a6c7caf75129a7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 19 Mar 2014 15:54:10 +0000 Subject: coverity#738941 Uninitialized pointer field Change-Id: Id7d9e1700c513ffe72ffc4fa8d369d07370a4db9 --- vcl/unx/generic/app/sm.cxx | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'vcl/unx/generic/app/sm.cxx') diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index f0d1387ab704..f92b6ed9728c 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -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(); -- cgit