From 4b881a93bba85821e4cc5afb4e247fe141677389 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Mon, 19 Oct 2009 11:01:28 -0200 Subject: Avoid warning about an unused variable when not compiling as debug. --- tests/testutil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/testutil.h') diff --git a/tests/testutil.h b/tests/testutil.h index 6c51e99b6..b4124e4c3 100644 --- a/tests/testutil.h +++ b/tests/testutil.h @@ -42,6 +42,7 @@ public: // parse C++ code buffer.setData(cppCode); bool res = m_builder->build(&buffer); + Q_UNUSED(res); Q_ASSERT(res); } -- cgit v1.2.3