mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
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…
x
Reference in New Issue
Block a user