Browse Source

Fix warning

yhirose 1 year ago
parent
commit
26208363ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

@@ -2126,7 +2126,7 @@ TEST(ExceptionTest, AndErrorHandler) {
         res.status = StatusCode::InternalServerError_500;
         res.status = StatusCode::InternalServerError_500;
       });
       });
 
 
-  svr.Get("/exception", [](const Request & /*req*/, Response &res) {
+  svr.Get("/exception", [](const Request & /*req*/, Response & /*res*/) {
     throw std::runtime_error("EXCEPTION");
     throw std::runtime_error("EXCEPTION");
   });
   });