summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-26 15:10:28 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-05-26 20:19:17 +0200
commitf292fd3ac15109ad9ced85f2141922f403460618 (patch)
tree4596cd47604b05435e9dca2e650c538828fa6286 /sc
parent07a372592cea4bded282b2ad9a67ca9e7b08c3cd (diff)
ofz: Use-of-uninitialized-value
Change-Id: I8e43bdea51b7ab4943a2243e4d2ddb9d714f1895 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168049 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/lotus/lotform.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx
index 88ddfcfe251c..b5f9ee055a7a 100644
--- a/sc/source/filter/lotus/lotform.cxx
+++ b/sc/source/filter/lotus/lotform.cxx
@@ -479,7 +479,7 @@ void LotusToSc::Convert( std::unique_ptr<ScTokenArray>& rpErg, sal_Int32& rRest
}
case FT_ConstFloat:
{
- double fDouble;
+ double fDouble(0.0);
Read( fDouble );
aStack << aPool.Store( fDouble );
break;
@@ -638,7 +638,7 @@ void LotusToSc::Convert( std::unique_ptr<ScTokenArray>& rpErg, sal_Int32& rRest
}
case FT_Const10Float:
{
- double fValue;
+ double fValue(0.0);
if (bWK123)
Read(fValue);
else