aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/linearstructure.cpp
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2014-09-30 16:43:52 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2014-09-30 16:43:52 +0200
commit01875049125a8da1da73b3ea0ad9319d6d80f4c2 (patch)
tree82439d0ec1fe479241c1e72cf5eef4cb6a6fd65f /test/linearstructure.cpp
parent6d26deb894fa62a429b717efd4d4b3aa31aba88a (diff)
Avoid `unneeded-internal-declaration' warning
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r--test/linearstructure.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp
index 87dfa1b6b..8e3cc9a86 100644
--- a/test/linearstructure.cpp
+++ b/test/linearstructure.cpp
@@ -92,6 +92,8 @@ template<typename MatrixType> void real_complex(DenseIndex rows = MatrixType::Ro
void test_linearstructure()
{
+ g_called = true;
+ VERIFY(g_called); // avoid `unneeded-internal-declaration` warning.
for(int i = 0; i < g_repeat; i++) {
CALL_SUBTEST_1( linearStructure(Matrix<float, 1, 1>()) );
CALL_SUBTEST_2( linearStructure(Matrix2f()) );