diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-10-31 00:51:36 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-10-31 00:51:36 -0400 |
commit | 0609dbeec67df8f681afb34263c1be826831f534 (patch) | |
tree | 8fe219524dd2422b906432fbdd610f6818d0a003 /test/inverse.cpp | |
parent | 6a1caf0351824c0366b436d829309f7a558d2d6c (diff) |
fix more variable-set-but-not-used warnings on gcc 4.6
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r-- | test/inverse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp index f0c69e78c..81702432f 100644 --- a/test/inverse.cpp +++ b/test/inverse.cpp @@ -41,7 +41,6 @@ template<typename MatrixType> void inverse(const MatrixType& m) MatrixType m1(rows, cols), m2(rows, cols), - mzero = MatrixType::Zero(rows, cols), identity = MatrixType::Identity(rows, rows); createRandomPIMatrixOfRank(rows,rows,rows,m1); m2 = m1.inverse(); @@ -114,4 +113,5 @@ void test_inverse() CALL_SUBTEST_7( inverse(Matrix4d()) ); CALL_SUBTEST_7( inverse(Matrix<double,4,4,DontAlign>()) ); } + EIGEN_UNUSED_VARIABLE(s) } |