From 2538a85486e5bd452fede86bd725d5874cc956da Mon Sep 17 00:00:00 2001 From: yhirose Date: Mon, 27 Jul 2020 22:07:04 -0400 Subject: [PATCH] Fix #581 --- httplib.h | 1 + 1 file changed, 1 insertion(+) 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