diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-10-15 15:40:00 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-11-03 18:10:23 +0100 |
commit | f800a7ec70d9373dccc8dde360dd183ab4420b63 (patch) | |
tree | 95f5b1a12f8cd7e09cd688da08c59eaa708e0eaf | |
parent | aa8d0ebf4cf8f3c057ff63c44f14e674c2b50e0e (diff) |
WaE: variable set but not used, in NDEBUG build
Change-Id: I9c88c1a43228a98a355d8ba17b0a06de0c5418c4
(cherry picked from commit c58533fe4ada618eb6121d27362f7f540f26c3c0)
Signed-off-by: Eike Rathke <erack@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/19700
(cherry picked from commit 0ac97aba9b7a9903890685fc872350923ba8cbed)
-rw-r--r-- | sc/qa/unit/opencl-test.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index e53857ca1100..aee109ea0ad9 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -777,6 +777,9 @@ void ScOpenCLTest::testSystematic() CPPUNIT_ASSERT(nBHorEnd > 10); CPPUNIT_ASSERT(nAHorEnd == nBHorEnd); + (void) nBVertEnd; + (void) nBHorEnd; + for (SCROW i = nAVertBegin; i < nAVertEnd; ++i) { for (int j = 1; j < nAHorEnd; ++j) |