bug #1689 fix used-but-marked-unused warning

(grafted from bfbf7da0478afe75e19a953f0925bbd492bcd427
)
This commit is contained in:
Gael Guennebaud 2019-03-05 23:46:24 +01:00
parent 7b93328baf
commit 6b59aa705a

View File

@ -17,7 +17,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)
{