sc/qa/unit/opencl-test.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 0ac97aba9b7a9903890685fc872350923ba8cbed Author: Tor Lillqvist <t...@collabora.com> Date: Thu Oct 15 15:40:00 2015 +0300
WaE: variable set but not used, in NDEBUG build Change-Id: I9c88c1a43228a98a355d8ba17b0a06de0c5418c4 (cherry picked from commit c58533fe4ada618eb6121d27362f7f540f26c3c0) Signed-off-by: Eike Rathke <er...@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/19700 diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index e53857c..aee109e 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits