Add EIGEN_UNUSED_VARIABLE to unused variable in Memory.h

This commit is contained in:
Rasmus Munk Larsen 2020-09-15 01:18:55 +00:00
parent 65e400896b
commit e4fb0ddf78

View File

@ -83,6 +83,7 @@ inline void throw_std_bad_alloc()
new int[huge];
#else
void* unused = ::operator new(huge);
EIGEN_UNUSED_VARIABLE(unused);
#endif
#endif
}