diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 12:02:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 15:18:08 +0000 |
commit | 21211c1ec1b67ddd10722963866617cb3fd37305 (patch) | |
tree | f10b061eb7c6606d1b54fd30990d5b11939a18d6 /connectivity | |
parent | 4b076ecc07ea45458ff2c619bf03b9abd492388e (diff) |
coverity#984082 Uninitialized scalar field
Change-Id: I9a68f51c5941cdc592a39d4cbe164321cbc05660
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_statement.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx index 466fa61fe465..644f6d91690d 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.cxx +++ b/connectivity/source/drivers/postgresql/pq_statement.cxx @@ -157,12 +157,14 @@ static ::cppu::IPropertyArrayHelper & getStatementPropertyArrayHelper() Statement::Statement( const ::rtl::Reference< RefCountedMutex > & refMutex, const Reference< XConnection > & conn, struct ConnectionSettings *pSettings ) - : OComponentHelper( refMutex->mutex ), - OPropertySetHelper( OComponentHelper::rBHelper ), - m_connection( conn ), - m_pSettings( pSettings ), - m_refMutex( refMutex ), - m_lastOidInserted( InvalidOid ) + : OComponentHelper( refMutex->mutex ) + , OPropertySetHelper( OComponentHelper::rBHelper ) + , m_connection( conn ) + , m_pSettings( pSettings ) + , m_refMutex( refMutex ) + , m_multipleResultAvailable(false) + , m_multipleResultUpdateCount(0) + , m_lastOidInserted(InvalidOid) { m_props[STATEMENT_QUERY_TIME_OUT] = makeAny( (sal_Int32)0 ); m_props[STATEMENT_MAX_ROWS] = makeAny( (sal_Int32)0 ); |