From 01875049125a8da1da73b3ea0ad9319d6d80f4c2 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Tue, 30 Sep 2014 16:43:52 +0200 Subject: Avoid `unneeded-internal-declaration' warning --- test/linearstructure.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/linearstructure.cpp') 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 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()) ); CALL_SUBTEST_2( linearStructure(Matrix2f()) ); -- cgit v1.2.3