about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-03-03 07:54:53 +0000
committerEric Wong <e@80x24.org>2015-03-03 07:55:09 +0000
commit1c5082d515e12d6b65c772018b876d66c7be84ee (patch)
tree61b003b87c850456e68c23d0eb2e31283774c671
parentad6b17cec36a3be9a87fd20590ffe7e07a970965 (diff)
downloadyahns-1c5082d515e12d6b65c772018b876d66c7be84ee.tar.gz
"ruby -w" warns on it.
-rw-r--r--extras/proxy_pass.rb2
1 files changed, 1 insertions, 1 deletions
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,_|