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/product.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/product.h') diff --git a/test/product.h b/test/product.h index 40ae4d51b..e77f8c41e 100644 --- a/test/product.h +++ b/test/product.h @@ -54,8 +54,7 @@ template void product(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); RowSquareMatrixType identity = RowSquareMatrixType::Identity(rows, rows), square = RowSquareMatrixType::Random(rows, rows), @@ -63,9 +62,7 @@ template void product(const MatrixType& m) ColSquareMatrixType square2 = ColSquareMatrixType::Random(cols, cols), res2 = ColSquareMatrixType::Random(cols, cols); - RowVectorType v1 = RowVectorType::Random(rows), - v2 = RowVectorType::Random(rows), - vzero = RowVectorType::Zero(rows); + RowVectorType v1 = RowVectorType::Random(rows); ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); OtherMajorMatrixType tm1 = m1; -- cgit v1.2.3