diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-15 13:00:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-15 13:01:00 +0000 |
commit | a62395237ed78f982ae74efe5ed8ad7834a2f95b (patch) | |
tree | 61050114c78d926527c5d92a3dbb0af3fb5dd4ba /basic/source/sbx | |
parent | 9c4581a6b61c0836c3a44eaaf454b9ba560e937a (diff) |
WaE: moaning about unintialized variables
Diffstat (limited to 'basic/source/sbx')
-rw-r--r-- | basic/source/sbx/sbxdec.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx index c7267f1a5370..bf36d8863257 100644 --- a/basic/source/sbx/sbxdec.cxx +++ b/basic/source/sbx/sbxdec.cxx @@ -685,7 +685,7 @@ start: break; case SbxBYREF | SbxCURRENCY: { - double d; + double d(0.0); if( !pDec->getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); *p->pnInt64 = ImpDoubleToCurrency( d ); @@ -693,7 +693,7 @@ start: break; case SbxBYREF | SbxSALINT64: { - double d; + double d(0.0); if( !pDec->getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); else @@ -702,7 +702,7 @@ start: break; case SbxBYREF | SbxSALUINT64: { - double d; + double d(0.0); if( !pDec->getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); else |