Add EIGEN_UNUSED_VARIABLE to unused variable in Memory.h
This commit is contained in:
parent
65e400896b
commit
e4fb0ddf78
@ -83,6 +83,7 @@ inline void throw_std_bad_alloc()
|
|||||||
new int[huge];
|
new int[huge];
|
||||||
#else
|
#else
|
||||||
void* unused = ::operator new(huge);
|
void* unused = ::operator new(huge);
|
||||||
|
EIGEN_UNUSED_VARIABLE(unused);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user