summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/interpr4.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-11 15:56:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-12 10:31:25 +0100
commitf147b160aef1735d34c488353a7d4b875788a7e1 (patch)
treeab3bd613cf016cde906b3fdcbaab4246ca699e1e /sc/source/core/tool/interpr4.cxx
parent718f540fb63af27c1336f89213444e9af753b8a9 (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Ifa384933569b27d0d08eb479bb95b799163ae386 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88450 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/tool/interpr4.cxx')
-rw-r--r--sc/source/core/tool/interpr4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 7716a973fd6e..7f65d634c3fe 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3454,7 +3454,7 @@ void ScInterpreter::ScMacro()
{ // array( cols ) one line, several columns
pDimArray->GetDim32( 1, nCs, nCe );
nC = static_cast<SCSIZE>(nCe - nCs + 1);
- nRs = nRe = 0;
+ nRs = 0;
nR = 1;
nColIdx = 0;
nRowIdx = 1;