diff --git a/httplib.h b/httplib.h index d20fec5..6c99917 100644 --- a/httplib.h +++ b/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