Fix some unused-variable warnings with GCC 4.6

This commit is contained in:
Benoit Jacob
2011-10-30 23:55:20 -04:00
parent 4477843bdd
commit 6a1caf0351
5 changed files with 7 additions and 5 deletions

View File

@@ -39,8 +39,7 @@ template<typename MatrixType> void linearStructure(const MatrixType& m)
// to test it, hence I consider that we will have tested Random.h
MatrixType m1 = MatrixType::Random(rows, cols),
m2 = MatrixType::Random(rows, cols),
m3(rows, cols),
mzero = MatrixType::Zero(rows, cols);
m3(rows, cols);
Scalar s1 = internal::random<Scalar>();
while (internal::abs(s1)<1e-3) s1 = internal::random<Scalar>();