mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-30 16:52:01 +08:00
Fixed more warnings.
This commit is contained in:
parent
04274f6793
commit
f6d26bf6dc
@ -34,6 +34,9 @@ void test_first_aligned_helper(Scalar *array, int size)
|
|||||||
template<typename Scalar>
|
template<typename Scalar>
|
||||||
void test_none_aligned_helper(Scalar *array, int size)
|
void test_none_aligned_helper(Scalar *array, int size)
|
||||||
{
|
{
|
||||||
|
// Suppress 'unreferenced formal parameter's warnings.
|
||||||
|
(void)array;
|
||||||
|
(void)size;
|
||||||
VERIFY(ei_packet_traits<Scalar>::size == 1 || ei_first_aligned(array, size) == size);
|
VERIFY(ei_packet_traits<Scalar>::size == 1 || ei_first_aligned(array, size) == size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user