summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/postgresql/pq_baseresultset.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_preparedstatement.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_statement.cxx2
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;