mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Fix unused variable warnings in tests
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
@ -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
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user