diff --git a/asio/module/tests/main.hpp b/asio/module/tests/main.hpp index 21748bb4bf..a2605f11f3 100644 --- a/asio/module/tests/main.hpp +++ b/asio/module/tests/main.hpp @@ -41,7 +41,7 @@ inline void fail(error_code ec, char const* what) inline net::awaitable do_session(tcp::socket client_sock) { char buff [4096] {}; - auto ex = co_await net::this_coro::executor; + // TODO(CK): Not used? const auto ex = co_await net::this_coro::executor; ssl::context ctx {ssl::context::tls_client}; ssl::stream stream {std::move(client_sock), ctx}; @@ -55,7 +55,7 @@ inline net::awaitable do_session(tcp::socket client_sock) inline net::awaitable do_listen() { - auto ex = co_await net::this_coro::executor; + const auto ex = co_await net::this_coro::executor; error_code ec; tcp::endpoint endpoint {net::ip::address_v4::loopback(), 3000};