From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: yahns-public@yhbt.net Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 473611FD2B for ; Tue, 3 Mar 2015 07:59:34 +0000 (UTC) From: Eric Wong To: yahns-public@yhbt.net Subject: [PATCH 1/3] extras/proxy_pass: do not name unused variable Date: Tue, 3 Mar 2015 07:59:28 +0000 Message-Id: <1425369570-28427-2-git-send-email-e@80x24.org> In-Reply-To: <1425369570-28427-1-git-send-email-e@80x24.org> References: <1425369570-28427-1-git-send-email-e@80x24.org> List-Id: "ruby -w" warns on it. --- extras/proxy_pass.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/proxy_pass.rb b/extras/proxy_pass.rb index b1697db..8a32cac 100644 --- a/extras/proxy_pass.rb +++ b/extras/proxy_pass.rb @@ -170,7 +170,7 @@ class ProxyPass # :nodoc: send_body(env["rack.input"], ures, chunked) if chunked || clen # wait for the response here - status, header, body = res = ures.rack + _, header, body = res = ures.rack # don't let the upstream Connection and Keep-Alive headers leak through header.delete_if do |k,_| -- EW