[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/qa

Tor Lillqvist tml at collabora.com
Fri Oct 30 15:15:41 PDT 2015


 sc/qa/unit/opencl-test.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 0ac97aba9b7a9903890685fc872350923ba8cbed
Author: Tor Lillqvist <tml at 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 <erack at 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)


More information about the Libreoffice-commits mailing list