yhirose 5 年之前
父節點
當前提交
2538a85486
共有 1 個文件被更改,包括 1 次插入0 次删除
  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