mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-15 21:15:51 +02:00
Remove now unused variable
This commit is contained in:
@@ -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
|
// `boost::asio::read/write` will handle all the packet splitting and
|
||||||
// merging for us, since local domain sockets have packet limits somewhere
|
// merging for us, since local domain sockets have packet limits somewhere
|
||||||
// in the hundreds of kilobytes
|
// in the hundreds of kilobytes
|
||||||
const auto actual_size =
|
boost::asio::read(socket, boost::asio::buffer(buffer),
|
||||||
boost::asio::read(socket, boost::asio::buffer(buffer),
|
boost::asio::transfer_exactly(size));
|
||||||
boost::asio::transfer_exactly(size));
|
|
||||||
|
|
||||||
T object;
|
T object;
|
||||||
auto [_, success] =
|
auto [_, success] =
|
||||||
|
|||||||
Reference in New Issue
Block a user