summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames H. Hill <hilljh82@gmail.com>2008-01-14 14:07:57 +0000
committerJames H. Hill <hilljh82@gmail.com>2008-01-14 14:07:57 +0000
commit32d458d15b843399ea58be49db7dec591d6c3f63 (patch)
tree5bbf51c3de6627bcd8263bff4e4735a818460f8f
parent02a1f4b32548b11b5f751d2146c6df0b2b90f067 (diff)
downloadATCD-32d458d15b843399ea58be49db7dec591d6c3f63.tar.gz
Mon Jan 14 14:06:33 UTC 2008 James H. Hill <hillj@isis.vanderbilt.edu>
-rw-r--r--ACE/ChangeLog12
-rw-r--r--ACE/tests/Hash_Map_Manager_Test.cpp9
-rw-r--r--ACE/tests/STL_algorithm_Test_T.cpp3
3 files changed, 14 insertions, 10 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index d0a5c4311f0..1eb1dabcdf1 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,15 @@
+Mon Jan 14 14:06:33 UTC 2008 James H. Hill <hillj@isis.vanderbilt.edu>
+
+ * tests/Hash_Map_Manager_Test.cpp:
+
+ Removed the print_value () function since it is no longer
+ needed in the test.
+
+ * tests/STL_algorithm_Test_T.cpp (for_each_callback):
+
+ Wrapped the unused argument in ACE_UNUSED_ARG () to prevent
+ compiler warnings.
+
Mon Jan 14 05:01:19 UTC 2008 James H. Hill <hillj@isis.vanderbilt.edu>
* tests/acetest.mpb:
diff --git a/ACE/tests/Hash_Map_Manager_Test.cpp b/ACE/tests/Hash_Map_Manager_Test.cpp
index b8e6fbab9db..e960e127f8c 100644
--- a/ACE/tests/Hash_Map_Manager_Test.cpp
+++ b/ACE/tests/Hash_Map_Manager_Test.cpp
@@ -184,15 +184,6 @@ int test_two_allocators ()
return 0;
}
-static void
-print_value (const HASH_STRING_MAP::value_type & entry)
-{
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("hash entry: [%s, %s]\n"),
- entry.ext_id_,
- entry.int_id_));
-}
-
static int
run_test (void)
{
diff --git a/ACE/tests/STL_algorithm_Test_T.cpp b/ACE/tests/STL_algorithm_Test_T.cpp
index f12c0aba93b..6972fd20df2 100644
--- a/ACE/tests/STL_algorithm_Test_T.cpp
+++ b/ACE/tests/STL_algorithm_Test_T.cpp
@@ -12,9 +12,10 @@ static void
for_each_callback (ITEM & item)
{
// do nothing; just testing compilation and execution
-
ACE_DEBUG ((LM_DEBUG,
"algorithm test: for_each_callback\n"));
+
+ ACE_UNUSED_ARG (item);
}
template <typename T>