aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unalignedcount.cpp
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-06-10 21:26:23 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-06-10 21:26:23 +0100
commitfcab4c951d9e97bab3a2ad907984996b1c430b20 (patch)
treef8d799265a24da364553000f0b48333210455794 /test/unalignedcount.cpp
parent54235879a9818d1a96a894f1af03cc4aa5631660 (diff)
Add line to prevent compiler warning on unused variables.
Diffstat (limited to 'test/unalignedcount.cpp')
-rw-r--r--test/unalignedcount.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unalignedcount.cpp b/test/unalignedcount.cpp
index feff870e5..74eab8c6a 100644
--- a/test/unalignedcount.cpp
+++ b/test/unalignedcount.cpp
@@ -52,5 +52,8 @@ void test_unalignedcount()
VERIFY_ALIGNED_UNALIGNED_COUNT(a.segment(0,40) -= b.segment(0,40), 10, 10, 10, 0);
VERIFY_ALIGNED_UNALIGNED_COUNT(a.segment(0,40) *= 3.5, 10, 0, 10, 0);
VERIFY_ALIGNED_UNALIGNED_COUNT(a.segment(0,40) /= 3.5, 10, 0, 10, 0);
+ #else
+ // The following line is to eliminate "variable not used" warnings
+ nb_load = nb_loadu = nb_store = nb_storeu = 0;
#endif
}