summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-06 13:25:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-06 15:11:59 +0000
commiteb07ab05c3b8774ab2b2059befef0eadf61c97d6 (patch)
treef3988ec214c5c0238df7900c7aa8b0b8f61a7d45 /extensions
parentb178dd287063c1ff661c087174749b2dde59ad04 (diff)
coverity#707771 coverity gold, Uninitialized m_refCount
Change-Id: I98398a3cd7a86a5f31c711f7f1cff0d467a1d2e5
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index c6d5f3106116..e42efd84e62a 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2986,7 +2986,8 @@ namespace pcr
{
protected:
SQLCommandPropertyUI( const Reference< XPropertySet >& _rxObject )
- :m_xObject( _rxObject )
+ : m_xObject(_rxObject)
+ , m_refCount(0)
{
if ( !m_xObject.is() )
throw NullPointerException();