diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-10-19 11:01:28 -0200 |
---|---|---|
committer | Luciano Miguel Wolf <luciano.wolf@indt.org.br> | 2009-10-21 16:34:20 -0300 |
commit | 4b881a93bba85821e4cc5afb4e247fe141677389 (patch) | |
tree | f35b03c79bef2ddeef807bc29924731daa37b870 /tests | |
parent | a6281e0fe34a887b9f4b2981e84d0b46145a98d9 (diff) |
Avoid warning about an unused variable when not compiling as debug.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |