From 5c98b74bc2161d2b3eab062dda063f2e0dea89bb Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 10 Dec 2020 15:07:16 +0100 Subject: [PATCH] Remove now unused variable --- src/common/communication.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/communication.h b/src/common/communication.h index 3addf61d..0bab1d5d 100644 --- a/src/common/communication.h +++ b/src/common/communication.h @@ -116,9 +116,8 @@ inline T read_object(Socket& socket, std::vector& buffer) { // `boost::asio::read/write` will handle all the packet splitting and // merging for us, since local domain sockets have packet limits somewhere // in the hundreds of kilobytes - const auto actual_size = - boost::asio::read(socket, boost::asio::buffer(buffer), - boost::asio::transfer_exactly(size)); + boost::asio::read(socket, boost::asio::buffer(buffer), + boost::asio::transfer_exactly(size)); T object; auto [_, success] =