summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/column3.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index eb478fd2a462..054e334edb06 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -3638,6 +3638,8 @@ public:
{
// Both previous and current cells are regular cells.
assert(pPrev->aPos.Row() == static_cast<SCROW>(nRow - 1));
+ // silence set-but-unused warning for non-dbg build
+ (void) nRow;
xPrevGrp = pPrev->CreateCellGroup(2, eCompState == ScFormulaCell::EqualInvariant);
pCur->SetCellGroup(xPrevGrp);
++nRow;