diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fd83548..81c2e403 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Fix warning in http-server-fast. * Parenthesise all uses of min() and max(). * Extend Drone MSVC tests. * Fix MSVC build error. diff --git a/example/http/server/fast/http_server_fast.cpp b/example/http/server/fast/http_server_fast.cpp index 0c7ca453..3ddd8bb1 100644 --- a/example/http/server/fast/http_server_fast.cpp +++ b/example/http/server/fast/http_server_fast.cpp @@ -292,7 +292,6 @@ private: if (request_deadline_.expiry() <= std::chrono::steady_clock::now()) { // Close socket to cancel any outstanding operation. - beast::error_code ec; socket_.close(); // Sleep indefinitely until we're given a new deadline.