summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-01-03 12:32:52 +0200
committerTor Lillqvist <tml@collabora.com>2014-01-03 12:32:52 +0200
commit51145fa54451a7a068df30af0f7319b25104d1e6 (patch)
tree68f04506ca69174b94532bdccc153e1d156c0c73 /connectivity
parent308fdfb1a9176f65c11d82b95e3aa73b87e2fe47 (diff)
WaE: C4701: potentially uninitialized local variable 'aErr' used
Change-Id: I420a103fc62091319ec2d466c037d7c6631dde5d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index 128f35716f76..7c7b3d3e769d 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -492,7 +492,7 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 nParameterIndex,
// Max segment size is 2^16 == SAL_MAX_UINT16
sal_uInt64 nDataWritten = 0;
- ISC_STATUS aErr;
+ ISC_STATUS aErr = 0;
while (xBlob->length() - nDataWritten > 0)
{
sal_uInt64 nDataRemaining = xBlob->length() - nDataWritten;
@@ -592,7 +592,7 @@ void SAL_CALL OPreparedStatement::setBytes(sal_Int32 nParameterIndex,
// Max segment size is 2^16 == SAL_MAX_UINT16
sal_uInt64 nDataWritten = 0;
- ISC_STATUS aErr;
+ ISC_STATUS aErr = 0;
while (xBytes.getLength() - nDataWritten > 0)
{
sal_uInt64 nDataRemaining = xBytes.getLength() - nDataWritten;