mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fix warnings
This commit is contained in:
parent
45f3694f82
commit
aa04feebb4
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue