From e16ec9353e3aa379b730fdb8d9473bc2cccb4b72 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 24 May 2019 05:17:45 -0400 Subject: Avoid warnings --- src/cli/tls_proxy.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/cli/tls_proxy.cpp b/src/cli/tls_proxy.cpp index e2613f95d..2770a7c48 100644 --- a/src/cli/tls_proxy.cpp +++ b/src/cli/tls_proxy.cpp @@ -57,11 +57,13 @@ inline void log_error(const char* where, const boost::system::error_code& error) inline void log_binary_message(const char* where, const uint8_t buf[], size_t buf_len) { + BOTAN_UNUSED(where, buf, buf_len); //std::cout << where << ' ' << Botan::hex_encode(buf, buf_len) << std::endl; } void log_text_message(const char* where, const uint8_t buf[], size_t buf_len) { + BOTAN_UNUSED(where, buf, buf_len); //const char* c = reinterpret_cast(buf); //std::cout << where << ' ' << std::string(c, c + buf_len) << std::endl; } -- cgit v1.2.3