aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product.h
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/product.h
parent6a1caf0351824c0366b436d829309f7a558d2d6c (diff)
fix more variable-set-but-not-used warnings on gcc 4.6
Diffstat (limited to 'test/product.h')
-rw-r--r--test/product.h7
1 files changed, 2 insertions, 5 deletions
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<typename MatrixType> 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<typename MatrixType> 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;