diff options
author | Jack Lloyd <[email protected]> | 2019-04-13 07:12:46 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-04-13 07:12:46 -0400 |
commit | fb171db892e27081afcdd9c7ad450b44cd53feca (patch) | |
tree | be72bffd4bfaece2c9659cc292a74e8634a9f2f0 /src/lib/utils/socket | |
parent | 46138c762b5a542ae9fa6d0ea8141bbeb6e8aa6d (diff) |
Fix a few warnings in Boost specific code
Diffstat (limited to 'src/lib/utils/socket')
-rw-r--r-- | src/lib/utils/socket/socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/socket/socket.cpp b/src/lib/utils/socket/socket.cpp index 880d5ecfd..e7c2ccd81 100644 --- a/src/lib/utils/socket/socket.cpp +++ b/src/lib/utils/socket/socket.cpp @@ -83,7 +83,7 @@ class Asio_Socket final : public OS::Socket boost::system::error_code ec = boost::asio::error::would_block; boost::asio::async_write(m_tcp, boost::asio::buffer(buf, len), - [&ec](boost::system::error_code e, size_t got) { ec = e; }); + [&ec](boost::system::error_code e, size_t) { ec = e; }); while(ec == boost::asio::error::would_block) { m_io.run_one(); } |