diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-26 22:34:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-26 22:35:41 +0000 |
commit | 16d803021f4bb1708eeec0ab97e875eb37e2e0e3 (patch) | |
tree | 3e86117f57eb2be7e8b166d6b17ac79e05f8d881 | |
parent | 098d2591238317ee234b45e2f6d694a964f0be57 (diff) |
WaE: possibly uninitialized
-rw-r--r-- | basic/source/sbx/sbxdec.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx index 5f37c460e670..c7267f1a5370 100644 --- a/basic/source/sbx/sbxdec.cxx +++ b/basic/source/sbx/sbxdec.cxx @@ -608,7 +608,7 @@ start: } case SbxSINGLE: { - float f; + float f(0.0); pDec->getSingle( f ); p->nSingle = f; break; @@ -616,7 +616,7 @@ start: case SbxDATE: case SbxDOUBLE: { - double d; + double d(0.0); pDec->getDouble( d ); p->nDouble = d; break; |