diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 15:54:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-19 20:22:51 +0000 |
commit | 2e252aaf1bee9b5db42ef9c0e3a6c7caf75129a7 (patch) | |
tree | 70e452e9ec1334e37963244c079a1070d8e22132 /vcl/unx/generic/app/sm.cxx | |
parent | 03108f65a998feb06d9510dac4c8cbfb92dac030 (diff) |
coverity#738941 Uninitialized pointer field
Change-Id: Id7d9e1700c513ffe72ffc4fa8d369d07370a4db9
Diffstat (limited to 'vcl/unx/generic/app/sm.cxx')
-rw-r--r-- | vcl/unx/generic/app/sm.cxx | 14 |
1 files changed, 10 insertions, 4 deletions
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(); |