Remove unused parameter names.

This commit is contained in:
chris_kohlhoff 2008-04-21 13:35:40 +00:00
parent 1fcfc4cfa0
commit 03df12147a
62 changed files with 62 additions and 62 deletions

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("basic_datagram_socket");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("basic_deadline_timer");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("basic_socket_acceptor");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("basic_stream_socket");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -139,7 +139,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("buffer");
test->add(BOOST_TEST_CASE(&buffer_compile::test));

View File

@ -209,7 +209,7 @@ void test_async_operations()
client_socket.async_read_some(asio::buffer(read_buf), handle_read_eof);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("buffered_read_stream");
test->add(BOOST_TEST_CASE(&test_sync_operations));

View File

@ -224,7 +224,7 @@ void test_async_operations()
client_socket.async_read_some(asio::buffer(read_buf), handle_read_eof);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("buffered_stream");
test->add(BOOST_TEST_CASE(&test_sync_operations));

View File

@ -224,7 +224,7 @@ void test_async_operations()
client_socket.async_read_some(asio::buffer(read_buf), handle_read_eof);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("buffered_write_stream");
test->add(BOOST_TEST_CASE(&test_sync_operations));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("completion_condition");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("datagram_socket_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -179,7 +179,7 @@ void deadline_timer_test()
BOOST_CHECK(expected_end < end || expected_end == end);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("deadline_timer");
test->add(BOOST_TEST_CASE(&deadline_timer_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("deadline_timer_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -82,7 +82,7 @@ void error_test()
test_error_code(asio::error::would_block);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("error");
test->add(BOOST_TEST_CASE(&error_test));

View File

@ -233,7 +233,7 @@ void io_service_test()
BOOST_CHECK(exception_count == 2);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("io_service");
test->add(BOOST_TEST_CASE(&io_service_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/address");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -124,7 +124,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/address_v4");
test->add(BOOST_TEST_CASE(&ip_address_v4_compile::test));

View File

@ -145,7 +145,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/address_v6");
test->add(BOOST_TEST_CASE(&ip_address_v6_compile::test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/basic_endpoint");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver_entry");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver_iterator");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/basic_resolver_query");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -49,7 +49,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/host_name");
test->add(BOOST_TEST_CASE(&ip_host_name_compile::test));

View File

@ -340,7 +340,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/multicast");
test->add(BOOST_TEST_CASE(&ip_multicast_compile::test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/resolver_query_base");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/resolver_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -371,7 +371,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/tcp");
test->add(BOOST_TEST_CASE(&ip_tcp_compile::test));

View File

@ -325,7 +325,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/udp");
test->add(BOOST_TEST_CASE(&ip_udp_socket_compile::test));

View File

@ -162,7 +162,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/unicast");
test->add(BOOST_TEST_CASE(&ip_unicast_compile::test));

View File

@ -125,7 +125,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ip/v6_only");
test->add(BOOST_TEST_CASE(&ip_v6_only_compile::test));

View File

@ -118,7 +118,7 @@ void is_read_buffered_test()
asio::buffered_stream<test_stream> >::value);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("is_read_buffered");
test->add(BOOST_TEST_CASE(&is_read_buffered_test));

View File

@ -118,7 +118,7 @@ void is_write_buffered_test()
asio::buffered_stream<test_stream> >::value);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("is_write_buffered");
test->add(BOOST_TEST_CASE(&is_write_buffered_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("local/basic_endpoint");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -68,7 +68,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("local/connect_pair");
test->add(BOOST_TEST_CASE(&local_connect_pair_compile::test));

View File

@ -225,7 +225,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("local/datagram_protocol");
test->add(BOOST_TEST_CASE(&local_datagram_protocol_socket_compile::test));

View File

@ -202,7 +202,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("local/stream_protocol");
test->add(BOOST_TEST_CASE(&local_stream_protocol_socket_compile::test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("placeholders");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -19,7 +19,7 @@
#include "asio.hpp"
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("posix/basic_descriptor");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -19,7 +19,7 @@
#include "asio.hpp"
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("posix/basic_stream_descriptor");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -19,7 +19,7 @@
#include "asio.hpp"
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("posix/descriptor_base");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -119,7 +119,7 @@ void test()
} // namespace posix_stream_descriptor_compile
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("posix/stream_descriptor");
test->add(BOOST_TEST_CASE(&posix_stream_descriptor_compile::test));

View File

@ -19,7 +19,7 @@
#include "asio.hpp"
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("posix/stream_descriptor_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -619,7 +619,7 @@ void test_4_arg_async_read()
BOOST_CHECK(s.check(buffers, 50));
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("read");
test->add(BOOST_TEST_CASE(&test_2_arg_read));

View File

@ -421,7 +421,7 @@ void test_string_async_read_until()
BOOST_CHECK(length == 0);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("read_until");
test->add(BOOST_TEST_CASE(&test_char_read_until));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("socket_acceptor_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -644,7 +644,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("socket_base");
test->add(BOOST_TEST_CASE(&socket_base_compile::test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ssl/basic_context");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ssl/context");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ssl/context_base");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ssl/context_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -118,7 +118,7 @@ void test()
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ssl/stream");
test->add(BOOST_TEST_CASE(&ssl_stream_compile::test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ssl/stream_base");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("ssl/stream_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -162,7 +162,7 @@ void strand_test()
BOOST_CHECK(exception_count == 2);
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("strand");
test->add(BOOST_TEST_CASE(&strand_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("stream_socket_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("thread");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -18,7 +18,7 @@
#include "unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("time_traits");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -19,7 +19,7 @@
#include "asio.hpp"
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("windows/basic_handle");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -19,7 +19,7 @@
#include "asio.hpp"
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("windows/basic_stream_handle");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -106,7 +106,7 @@ void test()
} // namespace windows_stream_handle_compile
//------------------------------------------------------------------------------
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("windows/stream_handle");
test->add(BOOST_TEST_CASE(&windows_stream_handle_compile::test));

View File

@ -19,7 +19,7 @@
#include "asio.hpp"
#include "../unit_test.hpp"
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("windows/stream_handle_service");
test->add(BOOST_TEST_CASE(&null_test));

View File

@ -573,7 +573,7 @@ void test_4_arg_async_write()
BOOST_CHECK(s.check(buffers, 50));
}
test_suite* init_unit_test_suite(int argc, char* argv[])
test_suite* init_unit_test_suite(int, char*[])
{
test_suite* test = BOOST_TEST_SUITE("write");
test->add(BOOST_TEST_CASE(&test_2_arg_write));