diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-10-30 23:55:20 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-10-30 23:55:20 -0400 |
commit | 6a1caf0351824c0366b436d829309f7a558d2d6c (patch) | |
tree | 2e2f0dd4e1e7910aea3073d64728cd7a1df529ed /test/linearstructure.cpp | |
parent | 4477843bdd7555f634952357f6087021e2d8519b (diff) |
Fix some unused-variable warnings with GCC 4.6
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r-- | test/linearstructure.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp index c638c07e5..bbfdaacc1 100644 --- a/test/linearstructure.cpp +++ b/test/linearstructure.cpp @@ -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>(); |