From 0609dbeec67df8f681afb34263c1be826831f534 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 31 Oct 2011 00:51:36 -0400 Subject: fix more variable-set-but-not-used warnings on gcc 4.6 --- test/nomalloc.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'test/nomalloc.cpp') 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 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 - ::Identity(rows, rows), - square = Matrix - ::Random(rows, rows); - VectorType v1 = VectorType::Random(rows), - v2 = VectorType::Random(rows), - vzero = VectorType::Zero(rows); + m3(rows, cols); Scalar s1 = internal::random(); -- cgit v1.2.3