From f64045a060ae22c6445b78ecea3783cef7c1ca3b Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 30 Jan 2015 19:52:01 -0800 Subject: Silenced a few more compilation warnings --- unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h index 6c9a67c58..d81197e6d 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -93,7 +93,7 @@ struct Sizes : internal::numeric_list { // todo: add assertion } #ifdef EIGEN_HAS_VARIADIC_TEMPLATES - template Sizes(DenseIndex... indices) { } + template Sizes(DenseIndex...) { } explicit Sizes(std::initializer_list /*l*/) { // todo: add assertion } @@ -333,7 +333,7 @@ static const size_t value = Sizes::count; template struct array_size > { static const size_t value = Sizes::count; }; -template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::size_t array_get(const Sizes& a) { +template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::size_t array_get(const Sizes&) { return get >::value; } #else -- cgit v1.2.3