From: Francis Dupont Date: Mon, 22 Feb 2021 09:06:45 +0000 (+0100) Subject: [#1661] Fixed build on last Fedora X-Git-Tag: Kea-1.9.6~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c377a604fe5d44fa99356b257f28a4507ee645ff;p=thirdparty%2Fkea.git [#1661] Fixed build on last Fedora --- diff --git a/src/lib/http/tests/server_client_unittests.cc b/src/lib/http/tests/server_client_unittests.cc index 189b016023..a454ddb824 100644 --- a/src/lib/http/tests/server_client_unittests.cc +++ b/src/lib/http/tests/server_client_unittests.cc @@ -1783,7 +1783,7 @@ public: /// @brief Handshake callback handler /// @param ec Error status of the ASIO connect - bool handshakeHandler(const boost::system::error_code& ec, int) { + bool handshakeHandler(const boost::system::error_code&, int) { ADD_FAILURE() << "handshake callback handler is called"; // ec indicates an error, return true, so that error can be handled // by Connection logic. diff --git a/src/lib/http/tests/tls_client_unittests.cc b/src/lib/http/tests/tls_client_unittests.cc index 288845fb19..96cb4060e2 100644 --- a/src/lib/http/tests/tls_client_unittests.cc +++ b/src/lib/http/tests/tls_client_unittests.cc @@ -1078,7 +1078,7 @@ public: /// @brief Handshake callback handler /// @param ec Error status of the ASIO connect - bool handshakeHandler(const boost::system::error_code& ec, int) { + bool handshakeHandler(const boost::system::error_code&, int) { ++handshake_cnt_; // ec indicates an error, return true, so that error can be handled // by Connection logic.