Remove now unused variable

This commit is contained in:
Robbert van der Helm
2020-12-10 15:07:16 +01:00
parent 5f7c105b6d
commit 5c98b74bc2
+2 -3
View File
@@ -116,9 +116,8 @@ inline T read_object(Socket& socket, std::vector<uint8_t>& 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] =