Kaydet (Commit) 51145fa5 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: C4701: potentially uninitialized local variable 'aErr' used

Change-Id: I420a103fc62091319ec2d466c037d7c6631dde5d
üst 308fdfb1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment