Browse Source

Fixed warning

yhirose 5 years ago
parent
commit
17428a8fbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

@@ -3250,7 +3250,7 @@ TEST(SSLClientTest, ServerCertificateVerification4) {
   SSLServer svr(SERVER_CERT2_FILE, SERVER_PRIVATE_KEY_FILE);
   ASSERT_TRUE(svr.is_valid());
 
-  svr.Get("/test", [&](const Request &req, Response &res) {
+  svr.Get("/test", [&](const Request &, Response &res) {
     res.set_content("test", "text/plain");
     svr.stop();
     ASSERT_TRUE(true);