diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-03-06 18:49:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-06 19:22:37 +0000 |
commit | ba9393b6446b1d779208f8581751d389641c4a18 (patch) | |
tree | 691bd8c97609f65ab8d7e4e3bd79ef32da007794 | |
parent | 22d2b498ce0962f2083160a5739cca09206771d1 (diff) |
coverity#1355253 Uninitialized scalar field
Change-Id: Ib89a7e44562b6bf8a8ae41e71e3d91ad5569b8d1
-rw-r--r-- | sc/source/core/tool/interpr8.cxx | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx index 0fdb6702899c..51e7f746e5a6 100644 --- a/sc/source/core/tool/interpr8.cxx +++ b/sc/source/core/tool/interpr8.cxx @@ -125,15 +125,28 @@ public: bool GetETSPredictionIntervals( ScMatrixRef rTMat, ScMatrixRef rPIMat, double fPILevel ); }; -ScETSForecastCalculation::ScETSForecastCalculation( SCSIZE nSize, SvNumberFormatter* pFormatter ): - mpFormatter(pFormatter), - mpBase(nullptr), - mpTrend(nullptr), - mpPerIdx(nullptr), - mpForecast(nullptr), - mnCount(nSize), - mbInitialised(false), - mnMonthDay(0) +ScETSForecastCalculation::ScETSForecastCalculation( SCSIZE nSize, SvNumberFormatter* pFormatter ) + : mpFormatter(pFormatter) + , mpBase(nullptr) + , mpTrend(nullptr) + , mpPerIdx(nullptr) + , mpForecast(nullptr) + , mnSmplInPrd(0) + , mfStepSize(0.0) + , mfAlpha(0.0) + , mfBeta(0.0) + , mfGamma(0.0) + , mnCount(nSize) + , mbInitialised(false) + , mnMonthDay(0) + , mfMAE(0.0) + , mfMASE(0.0) + , mfMSE(0.0) + , mfRMSE(0.0) + , mfSMAPE(0.0) + , mnErrorValue(0) + , bAdditive(false) + , bEDS(false) { maRange.reserve( mnCount ); } |