aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nomalloc.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-10-31 00:51:36 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-10-31 00:51:36 -0400
commit0609dbeec67df8f681afb34263c1be826831f534 (patch)
tree8fe219524dd2422b906432fbdd610f6818d0a003 /test/nomalloc.cpp
parent6a1caf0351824c0366b436d829309f7a558d2d6c (diff)
fix more variable-set-but-not-used warnings on gcc 4.6
Diffstat (limited to 'test/nomalloc.cpp')
-rw-r--r--test/nomalloc.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp
index 96ff16dae..273b1f7ad 100644
--- a/test/nomalloc.cpp
+++ b/test/nomalloc.cpp
@@ -52,15 +52,7 @@ template<typename MatrixType> void nomalloc(const MatrixType& m)
MatrixType m1 = MatrixType::Random(rows, cols),
m2 = MatrixType::Random(rows, cols),
- m3(rows, cols),
- mzero = MatrixType::Zero(rows, cols),
- identity = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
- ::Identity(rows, rows),
- square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>
- ::Random(rows, rows);
- VectorType v1 = VectorType::Random(rows),
- v2 = VectorType::Random(rows),
- vzero = VectorType::Zero(rows);
+ m3(rows, cols);
Scalar s1 = internal::random<Scalar>();