diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-01-03 12:32:52 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-01-03 12:32:52 +0200 |
commit | 51145fa54451a7a068df30af0f7319b25104d1e6 (patch) | |
tree | 68f04506ca69174b94532bdccc153e1d156c0c73 /connectivity | |
parent | WaE: C4101: 'e' : unreferenced local variable (diff) | |
download | core-51145fa54451a7a068df30af0f7319b25104d1e6.tar.gz core-51145fa54451a7a068df30af0f7319b25104d1e6.zip |
WaE: C4701: potentially uninitialized local variable 'aErr' used
Change-Id: I420a103fc62091319ec2d466c037d7c6631dde5d
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/PreparedStatement.cxx | 4 |
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; |