From 0411b3477f5ec941710933bf2f242d965ae3fe1e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 6 Oct 2015 15:11:30 +0200 Subject: clang-analyzer-deadcode.DeadStores Change-Id: Ibde6ee93edae124da52e2a03528a240d4066baa7 --- chart2/source/view/main/PlottingPositionHelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2/source') diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx index 25a22a649bf0..78903ea018b0 100644 --- a/chart2/source/view/main/PlottingPositionHelper.cxx +++ b/chart2/source/view/main/PlottingPositionHelper.cxx @@ -365,8 +365,8 @@ void PolarPlottingPositionHelper::setScales( const std::vector< ExplicitScaleDat double fTranslate =1.0; double fScale =FIXED_SIZE_FOR_3D_CHART_VOLUME/2.0; - double fTranslateLogicZ =fTranslate; - double fScaleLogicZ =fScale; + double fTranslateLogicZ; + double fScaleLogicZ; { double fScaleDirectionZ = AxisOrientation_MATHEMATICAL==m_aScales[2].Orientation ? 1.0 : -1.0; double MinZ = getLogicMinZ(); -- cgit v1.2.3