From 98a39af312d493c26eabc94f95df0c27b3c7f66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 16 Apr 2014 14:33:13 +0100 Subject: [PATCH] WaE: -Werror=maybe-uninitialized Change-Id: Id9226a5d460c114d4811209020f408779dd2424d --- connectivity/source/drivers/postgresql/pq_baseresultset.cxx | 2 +- connectivity/source/drivers/postgresql/pq_preparedstatement.cxx | 2 +- connectivity/source/drivers/postgresql/pq_statement.cxx | 2 +- 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;