diff options
author | 2010-06-08 15:52:00 +0200 | |
---|---|---|
committer | 2010-06-08 15:52:00 +0200 | |
commit | 4c5778d29da3ddb21b3f1c64b8179571c7ba8847 (patch) | |
tree | 467023b7c1fdd44d724c6ed70fd8aa47a6a0a9e3 /Eigen/src/Sparse | |
parent | 2a64fa49475b64a7c7bcd560359d5f67180322e3 (diff) |
Made the supression of unused variables portable.
EIGEN_UNUSED is not supported on non GCC systems.
Diffstat (limited to 'Eigen/src/Sparse')
-rw-r--r-- | Eigen/src/Sparse/SparseProduct.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Sparse/SparseProduct.h b/Eigen/src/Sparse/SparseProduct.h index 2f86b2b2d..7a91c9cf0 100644 --- a/Eigen/src/Sparse/SparseProduct.h +++ b/Eigen/src/Sparse/SparseProduct.h @@ -382,9 +382,9 @@ struct ei_sparse_product_selector2<Lhs,Rhs,ResultType,RowMajor,ColMajor,ColMajor static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res) { // prevent warnings until the code is fixed - (void) lhs; - (void) rhs; - (void) res; + EIGEN_UNUSED_VARIABLE(lhs); + EIGEN_UNUSED_VARIABLE(rhs); + EIGEN_UNUSED_VARIABLE(res); // typedef SparseMatrix<typename ResultType::Scalar,RowMajor> RowMajorMatrix; // RowMajorMatrix rhsRow = rhs; |