aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_runqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/test/cxx11_runqueue.cpp')
-rw-r--r--unsupported/test/cxx11_runqueue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/cxx11_runqueue.cpp b/unsupported/test/cxx11_runqueue.cpp
index 5cfb38b2e..4207824bf 100644
--- a/unsupported/test/cxx11_runqueue.cpp
+++ b/unsupported/test/cxx11_runqueue.cpp
@@ -18,12 +18,12 @@
// implementation of rand() is already thread safe
int rand_reentrant(unsigned int* s) {
#ifdef EIGEN_COMP_MSVC_STRICT
+ EIGEN_UNUSED_VARIABLE(s);
return rand();
#else
return rand_r(s);
-endif
-}
#endif
+}
void test_basic_runqueue()
{