aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/first_aligned.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-08 00:41:33 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-08 00:41:33 +0200
commitf6d26bf6dc05d2d7093f32284360208e7d5de7f5 (patch)
tree8ba8486308fd3db65b0e8773dd0d3a9cf4622003 /test/first_aligned.cpp
parent04274f6793641b7570ae5e2a2dbdf315a3de9d9f (diff)
Fixed more warnings.
Diffstat (limited to 'test/first_aligned.cpp')
-rw-r--r--test/first_aligned.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/first_aligned.cpp b/test/first_aligned.cpp
index f00ed57a5..5fb806298 100644
--- a/test/first_aligned.cpp
+++ b/test/first_aligned.cpp
@@ -34,6 +34,9 @@ void test_first_aligned_helper(Scalar *array, int size)
template<typename Scalar>
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);
}