Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Aug 9, 2024
1 parent 45f3694 commit aa04fee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand All @@ -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;
},
Expand All @@ -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;
},
Expand Down

0 comments on commit aa04fee

Please sign in to comment.