fix more variable-set-but-not-used warnings on gcc 4.6

This commit is contained in:
Benoit Jacob
2011-10-31 00:51:36 -04:00
parent 6a1caf0351
commit 0609dbeec6
10 changed files with 18 additions and 44 deletions

View File

@@ -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)
}