aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-10-19 11:01:28 -0200
committerLuciano Miguel Wolf <luciano.wolf@indt.org.br>2009-10-21 16:34:20 -0300
commit4b881a93bba85821e4cc5afb4e247fe141677389 (patch)
treef35b03c79bef2ddeef807bc29924731daa37b870 /tests
parenta6281e0fe34a887b9f4b2981e84d0b46145a98d9 (diff)
Avoid warning about an unused variable when not compiling as debug.
Diffstat (limited to 'tests')
-rw-r--r--tests/testutil.h1
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);
}