From 634bd79b0eb9330febf346fdc043a728c9f98df4 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez <cantonios@google.com> Date: Mon, 7 Dec 2020 19:14:21 -0800 Subject: [PATCH] Fix unused warning on new `dense_assignment_loop` impl. --- Eigen/src/Core/AssignEvaluator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/AssignEvaluator.h b/Eigen/src/Core/AssignEvaluator.h index 3a7f7424a..47ccf6242 100644 --- a/Eigen/src/Core/AssignEvaluator.h +++ b/Eigen/src/Core/AssignEvaluator.h @@ -325,7 +325,7 @@ struct dense_assignment_loop; template<typename Kernel, int Unrolling> struct dense_assignment_loop<Kernel, AllAtOnceTraversal, Unrolling> { - EIGEN_DEVICE_FUNC static void EIGEN_STRONG_INLINE run(Kernel &kernel) + EIGEN_DEVICE_FUNC static void EIGEN_STRONG_INLINE run(Kernel& /*kernel*/) { typedef typename Kernel::DstEvaluatorType::XprType DstXprType; EIGEN_STATIC_ASSERT(int(DstXprType::SizeAtCompileTime) == 0,