Jelajahi Sumber

Removed unused local variable (#2382)

Charles von Kalm 1 bulan lalu
induk
melakukan
7444646627
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -11801,7 +11801,7 @@ Server::process_request(Stream &strm, const std::string &remote_addr,
 #else
   try {
     routed = routing(req, res, strm);
-  } catch (std::exception &e) {
+  } catch (std::exception &) {
     if (exception_handler_) {
       auto ep = std::current_exception();
       exception_handler_(req, res, ep);