From aa04feebb4ede6e80d188d31d96ea407d1a86088 Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 8 Aug 2024 20:54:33 -0400 Subject: [PATCH] Fix warnings --- test/test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.cc b/test/test.cc index d6610a758a..6cb05bc7d2 100644 --- a/test/test.cc +++ b/test/test.cc @@ -5176,7 +5176,7 @@ TEST(KeepAliveTest, SSLClientReconnectionPost) { auto result = cli.Post( "/hi", content.size(), - [&content](size_t offset, size_t length, DataSink &sink) { + [&content](size_t /*offset*/, size_t /*length*/, DataSink &sink) { sink.write(content.c_str(), content.size()); return true; }, @@ -5189,7 +5189,7 @@ TEST(KeepAliveTest, SSLClientReconnectionPost) { // Recoonect result = cli.Post( "/hi", content.size(), - [&content](size_t offset, size_t length, DataSink &sink) { + [&content](size_t /*offset*/, size_t /*length*/, DataSink &sink) { sink.write(content.c_str(), content.size()); return true; }, @@ -5199,7 +5199,7 @@ TEST(KeepAliveTest, SSLClientReconnectionPost) { result = cli.Post( "/hi", content.size(), - [&content](size_t offset, size_t length, DataSink &sink) { + [&content](size_t /*offset*/, size_t /*length*/, DataSink &sink) { sink.write(content.c_str(), content.size()); return true; },