From ddff4acea3c95be3517dd9bf39af1a35900b3104 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Thu, 5 Jan 2006 13:31:14 +0000 Subject: [PATCH] remove warnings git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@423 7ec92016-0320-0410-acc4-a06ded1c099a --- test/RegressionTest/AssocVectorTest.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/RegressionTest/AssocVectorTest.h b/test/RegressionTest/AssocVectorTest.h index 044d995..4d1c52f 100755 --- a/test/RegressionTest/AssocVectorTest.h +++ b/test/RegressionTest/AssocVectorTest.h @@ -183,8 +183,8 @@ void check_insert1(test_vect1_t& v) template void check_swap(Vect& v1, Vect& v2) { - size_t size1 = v1.size(); - size_t size2 = v2.size(); + size_t size1 = v1.size(); (void) size1; + size_t size2 = v2.size(); (void) size2; v1.swap(v2); assert(v1.size() == size2); assert(v2.size() == size1); @@ -201,6 +201,7 @@ void test_vect1() check_insert1(vec11); size_t size1 = vec11.size(); + (void) size1; assert(size1); test_vect1_t vec12(vec11.begin(), vec11.end());