diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 14:33:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-16 16:41:58 +0100 |
commit | 98a39af312d493c26eabc94f95df0c27b3c7f66c (patch) | |
tree | a2742fc2aa48aefec93343081f8fa49146a2810b /connectivity | |
parent | eff36c994e0a0c19c8f38bba116e268ac7e9f146 (diff) |
WaE: -Werror=maybe-uninitialized
Change-Id: Id9226a5d460c114d4811209020f408779dd2424d
Diffstat (limited to 'connectivity')
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx index e6fb435d077d..5b4a03066cb0 100644 --- a/connectivity/source/drivers/postgresql/pq_baseresultset.cxx +++ b/connectivity/source/drivers/postgresql/pq_baseresultset.cxx @@ -617,7 +617,7 @@ sal_Bool BaseResultSet::convertFastPropertyValue( case BASERESULTSET_ESCAPE_PROCESSING: case BASERESULTSET_IS_BOOKMARKABLE: { - bool val; + bool val(false); bRet = ( rValue >>= val ); m_props[nHandle] = makeAny( val ); break; diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx index bfb50101a1d6..83dbdbf9d3d8 100644 --- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx +++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx @@ -779,7 +779,7 @@ sal_Bool PreparedStatement::convertFastPropertyValue( } case PREPARED_STATEMENT_ESCAPE_PROCESSING: { - bool val; + bool val(false); bRet = ( rValue >>= val ); rConvertedValue = makeAny( val ); break; diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx index 14a781755160..e002067039a2 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.cxx +++ b/connectivity/source/drivers/postgresql/pq_statement.cxx @@ -934,7 +934,7 @@ sal_Bool Statement::convertFastPropertyValue( } case STATEMENT_ESCAPE_PROCESSING: { - bool val; + bool val(false); bRet = ( rValue >>= val ); rConvertedValue = makeAny( val ); break; |