Skip to content

Commit eb1fe5b

Browse files
committed
Fixed warnings
1 parent 5e01587 commit eb1fe5b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/test.cc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,8 @@ TEST(DigestAuthTest, FromHTTPWatch) {
566566
EXPECT_EQ(400, res->status);
567567
}
568568

569-
// NOTE: Until httpbin.org fixes issue #46, the following test is commented out.
570-
// Plese see https://httpbin.org/digest-auth/auth/hello/world
569+
// NOTE: Until httpbin.org fixes issue #46, the following test is commented
570+
// out. Plese see https://httpbin.org/digest-auth/auth/hello/world
571571
// cli.set_digest_auth("bad", "world");
572572
// for (auto path : paths) {
573573
// auto res = cli.Get(path.c_str());
@@ -2091,8 +2091,7 @@ TEST_F(ServerTest, KeepAlive) {
20912091
Get(requests, "/not-exist");
20922092
Post(requests, "/empty", "", "text/plain");
20932093
Post(
2094-
requests, "/empty", 0,
2095-
[&](size_t offset, size_t length, httplib::DataSink &sink) {},
2094+
requests, "/empty", 0, [&](size_t, size_t, httplib::DataSink &) {},
20962095
"text/plain");
20972096

20982097
std::vector<Response> responses;

0 commit comments

Comments
 (0)