diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-23 17:19:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-24 14:04:46 +0100 |
commit | 95f884618698ba7ff1ca98be5b844f8db5a4e43c (patch) | |
tree | e124afa79c2790e5dc684d10d0b1820514a3a12f /chart2 | |
parent | a726ba2a7a429805fdcaa44fc9f95b853de502bb (diff) |
coverity#1308146 Uninitialized scalar field
Change-Id: Ida37b83fed0ff5f76fab38153d2e8021a398faa1
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/PotentialRegressionCurveCalculator.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/tools/PotentialRegressionCurveCalculator.cxx b/chart2/source/tools/PotentialRegressionCurveCalculator.cxx index 0e4f4cd204cd..c8a4b267057d 100644 --- a/chart2/source/tools/PotentialRegressionCurveCalculator.cxx +++ b/chart2/source/tools/PotentialRegressionCurveCalculator.cxx @@ -29,9 +29,10 @@ using namespace ::com::sun::star; namespace chart { -PotentialRegressionCurveCalculator::PotentialRegressionCurveCalculator() : - m_fSlope( 0.0 ), - m_fIntercept( 0.0 ) +PotentialRegressionCurveCalculator::PotentialRegressionCurveCalculator() + : m_fSlope(0.0) + , m_fIntercept(0.0) + , m_fSign(1.0) { ::rtl::math::setNan( & m_fSlope ); ::rtl::math::setNan( & m_fIntercept ); |