From 502a35357c8995a7b7bfc4361b6e5f83a464a9b0 Mon Sep 17 00:00:00 2001 From: neru Date: Sat, 21 Mar 2026 23:59:00 -0300 Subject: [PATCH] fix: remove unused variable --- src/unlocker/proxy.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/unlocker/proxy.cpp b/src/unlocker/proxy.cpp index bab118f..93eb700 100644 --- a/src/unlocker/proxy.cpp +++ b/src/unlocker/proxy.cpp @@ -535,9 +535,6 @@ void Proxy::handleClient(SOCKET hClientSocket) std::string respHeaders = serverStream.buffer.substr(0, bStart); size_t firstSpace = respHeaders.find(' '); - int sc = - (firstSpace != std::string::npos) ? safe_stoi(respHeaders.substr(firstSpace + 1, 3)) : 0; - OnServerResponse.run(url, body, respHeaders); removeHeader(respHeaders, "Transfer-Encoding");