Remove unused variables

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
Grzegorz Rychlik 2020-04-09 17:56:47 +02:00
parent 899d541731
commit 64917a5411
1 changed files with 0 additions and 4 deletions

View File

@ -20,10 +20,6 @@ namespace FSecure::WinHttp
HttpResponse Request(HttpRequest const& request, std::wstring const& contentType = {}, std::vector<uint8_t> const& data = {})
{
bool proxy_info_required = false;
const auto& method = request.m_Method;
auto coalesce = [](auto&& opt1, auto&& defaultValue) { return !opt1.empty() ? opt1 : defaultValue; };
auto const& path = coalesce(request.m_Path, m_Uri.GetPathWithQuery());
auto req = m_Connection.OpenRequest(GetMethodString(request.m_Method), path);