From bfbf7da0478afe75e19a953f0925bbd492bcd427 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 5 Mar 2019 23:46:24 +0100 Subject: bug #1689 fix used-but-marked-unused warning --- Eigen/src/Core/products/Parallelizer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Eigen/src/Core/products') diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index 92e9b0d9f..e01e798f1 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h @@ -21,7 +21,8 @@ namespace internal { /** \internal */ inline void manage_multi_threading(Action action, int* v) { - static EIGEN_UNUSED int m_maxThreads = -1; + static int m_maxThreads = -1; + EIGEN_UNUSED_VARIABLE(m_maxThreads); if(action==SetAction) { -- cgit v1.2.3