mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add EIGEN_UNUSED_VARIABLE to unused variable in Memory.h
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user