From 9b9177f1ce0f6017976b841f88d0842ee3c823a2 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 5 Jul 2013 13:35:34 +0200 Subject: Fix a couple of warnings in unit tests. --- test/jacobi.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/jacobi.cpp') diff --git a/test/jacobi.cpp b/test/jacobi.cpp index 0e6f1de49..7ccd4124b 100644 --- a/test/jacobi.cpp +++ b/test/jacobi.cpp @@ -74,7 +74,8 @@ void test_jacobi() // complex is really important to test as it is the only way to cover conjugation issues in certain unaligned paths CALL_SUBTEST_6(( jacobi(MatrixXcf(r,c)) )); CALL_SUBTEST_6(( jacobi >(MatrixXcf(r,c)) )); - (void) r; - (void) c; + + TEST_SET_BUT_UNUSED_VARIABLE(r); + TEST_SET_BUT_UNUSED_VARIABLE(c); } } -- cgit v1.2.3