summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-10-15 15:40:00 +0300
committerTor Lillqvist <tml@collabora.com>2015-10-15 15:40:00 +0300
commitc58533fe4ada618eb6121d27362f7f540f26c3c0 (patch)
treea82cf3803c1265919602d2b2988e1ace2279e1cb /sc
parent4421bb8eb51868cfd2d122e198382e605b370ef2 (diff)
WaE: variable set but not used, in NDEBUG build
Change-Id: I9c88c1a43228a98a355d8ba17b0a06de0c5418c4
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/opencl-test.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index 2627003d802f..5d839d87f2a1 100644
--- a/sc/qa/unit/opencl-test.cxx
+++ b/sc/qa/unit/opencl-test.cxx
@@ -777,6 +777,9 @@ void ScOpenCLTest::testSystematic()
assert(nBHorEnd > 10);
assert(nAHorEnd == nBHorEnd);
+ (void) nBVertEnd;
+ (void) nBHorEnd;
+
for (SCROW i = nAVertBegin; i < nAVertEnd; ++i)
{
for (int j = 1; j < nAHorEnd; ++j)