From 4c5778d29da3ddb21b3f1c64b8179571c7ba8847 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Tue, 8 Jun 2010 15:52:00 +0200 Subject: Made the supression of unused variables portable. EIGEN_UNUSED is not supported on non GCC systems. --- test/triangular.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/triangular.cpp') diff --git a/test/triangular.cpp b/test/triangular.cpp index d6d64e595..12452515e 100644 --- a/test/triangular.cpp +++ b/test/triangular.cpp @@ -235,8 +235,8 @@ void test_triangular() { for(int i = 0; i < g_repeat ; i++) { - EIGEN_UNUSED int r = ei_random(2,20); - EIGEN_UNUSED int c = ei_random(2,20); + int r = ei_random(2,20); EIGEN_UNUSED_VARIABLE(r); + int c = ei_random(2,20); EIGEN_UNUSED_VARIABLE(c); CALL_SUBTEST_1( triangular_square(Matrix()) ); CALL_SUBTEST_2( triangular_square(Matrix()) ); -- cgit v1.2.3