yhirose 5 anni fa
parent
commit
2538a85486
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      httplib.h

+ 1 - 0
httplib.h

@@ -2352,6 +2352,7 @@ inline EncodingType encoding_type(const Request &req, const Response &res) {
   if (!ret) { return EncodingType::None; }
 
   const auto &s = req.get_header_value("Accept-Encoding");
+  (void)(s);
 
 #ifdef CPPHTTPLIB_BROTLI_SUPPORT
   // TODO: 'Accept-Encoding' has br, not br;q=0