diff options
author | Hannes Rantzsch <[email protected]> | 2020-11-24 11:35:00 +0100 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2020-11-24 11:41:51 +0100 |
commit | d4bd5cf689e7d69fae44aaf4c1774bdc254cb814 (patch) | |
tree | b8b4a46ad74367bf49080aa67793c6afcd6fd11b /src/lib/tls/asio | |
parent | 49ee2ef28be4df03d9369df5b12e4bb24a3bbc9f (diff) |
try to calm gcc 9
Diffstat (limited to 'src/lib/tls/asio')
-rw-r--r-- | src/lib/tls/asio/asio_stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tls/asio/asio_stream.h b/src/lib/tls/asio/asio_stream.h index 42aa23cdf..f1ffa67f2 100644 --- a/src/lib/tls/asio/asio_stream.h +++ b/src/lib/tls/asio/asio_stream.h @@ -677,6 +677,8 @@ class Stream */ void setup_native_handle(Connection_Side side, boost::system::error_code& ec) { + BOTAN_UNUSED(side); // workaround: GCC 9 produces a warning claiming side is unused + // Do not attempt to instantiate the native_handle when a custom (mocked) channel type template parameter has // been specified. This allows mocking the native_handle in test code. if constexpr(std::is_same<ChannelT, Channel>::value) |