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

This commit is contained in:
Gael Guennebaud 2019-03-05 23:46:24 +01:00
parent 56c6373f82
commit bfbf7da047

View File

@ -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)
{