Fix unused variable warnings in tests

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
Damian Jarek
2019-07-07 16:56:56 +02:00
parent 63ef7f65bc
commit 2c2ac8027c
4 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,7 @@
Version 264: Version 264:
* Handle overflow in max size calculation in `basic_dynamic_body` * Handle overflow in max size calculation in `basic_dynamic_body`
* Fix unused variable warnings in tests
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@ -1204,7 +1204,6 @@ public:
} }
{ {
error_code ec;
stream_type s(ioc); stream_type s(ioc);
async_teardown(role_type::server, s, async_teardown(role_type::server, s,
[](error_code) [](error_code)

View File

@ -72,7 +72,6 @@ test_file()
auto const remove = auto const remove =
[](fs::path const& path) [](fs::path const& path)
{ {
error_code ec;
fs::remove(path); fs::remove(path);
}; };

View File

@ -148,7 +148,6 @@ public:
BEAST_EXPECT(buffer_bytes(bs) <= BEAST_EXPECT(buffer_bytes(bs) <=
detail::flat_stream_base::max_size); detail::flat_stream_base::max_size);
flat_stream<test::stream> s(ioc); flat_stream<test::stream> s(ioc);
error_code ec;
s.async_write_some(bs, s.async_write_some(bs,
[](error_code, std::size_t) [](error_code, std::size_t)
{ {