yhirose 5 years ago
parent
commit
2538a85486
1 changed files with 1 additions and 0 deletions
  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; }
   if (!ret) { return EncodingType::None; }
 
 
   const auto &s = req.get_header_value("Accept-Encoding");
   const auto &s = req.get_header_value("Accept-Encoding");
+  (void)(s);
 
 
 #ifdef CPPHTTPLIB_BROTLI_SUPPORT
 #ifdef CPPHTTPLIB_BROTLI_SUPPORT
   // TODO: 'Accept-Encoding' has br, not br;q=0
   // TODO: 'Accept-Encoding' has br, not br;q=0