Kaydet (Commit) 21211c1e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#984082 Uninitialized scalar field

Change-Id: I9a68f51c5941cdc592a39d4cbe164321cbc05660
üst 4b076ecc
...@@ -157,12 +157,14 @@ static ::cppu::IPropertyArrayHelper & getStatementPropertyArrayHelper() ...@@ -157,12 +157,14 @@ static ::cppu::IPropertyArrayHelper & getStatementPropertyArrayHelper()
Statement::Statement( const ::rtl::Reference< RefCountedMutex > & refMutex, Statement::Statement( const ::rtl::Reference< RefCountedMutex > & refMutex,
const Reference< XConnection > & conn, const Reference< XConnection > & conn,
struct ConnectionSettings *pSettings ) struct ConnectionSettings *pSettings )
: OComponentHelper( refMutex->mutex ), : OComponentHelper( refMutex->mutex )
OPropertySetHelper( OComponentHelper::rBHelper ), , OPropertySetHelper( OComponentHelper::rBHelper )
m_connection( conn ), , m_connection( conn )
m_pSettings( pSettings ), , m_pSettings( pSettings )
m_refMutex( refMutex ), , m_refMutex( refMutex )
m_lastOidInserted( InvalidOid ) , m_multipleResultAvailable(false)
, m_multipleResultUpdateCount(0)
, m_lastOidInserted(InvalidOid)
{ {
m_props[STATEMENT_QUERY_TIME_OUT] = makeAny( (sal_Int32)0 ); m_props[STATEMENT_QUERY_TIME_OUT] = makeAny( (sal_Int32)0 );
m_props[STATEMENT_MAX_ROWS] = makeAny( (sal_Int32)0 ); m_props[STATEMENT_MAX_ROWS] = makeAny( (sal_Int32)0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment