diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-06-07 21:39:55 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-06-08 00:26:09 -0300 |
commit | 1d3618a9b47d3160af00992756a4487906e39bcb (patch) | |
tree | 9ab0d0b449229f4a470f57f337ce133ed9b48932 /actionpack/lib/action_dispatch/middleware | |
parent | f2f63bf2ffa00d6187405c5851713d9fee68d5d3 (diff) | |
download | rails-1d3618a9b47d3160af00992756a4487906e39bcb.tar.gz rails-1d3618a9b47d3160af00992756a4487906e39bcb.tar.bz2 rails-1d3618a9b47d3160af00992756a4487906e39bcb.zip |
remove warning: assigned but unused variable
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/head.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/head.rb b/actionpack/lib/action_dispatch/middleware/head.rb index 56e2d2f2a8..f1906a3ab3 100644 --- a/actionpack/lib/action_dispatch/middleware/head.rb +++ b/actionpack/lib/action_dispatch/middleware/head.rb @@ -8,7 +8,7 @@ module ActionDispatch if env["REQUEST_METHOD"] == "HEAD" env["REQUEST_METHOD"] = "GET" env["rack.methodoverride.original_method"] = "HEAD" - status, headers, body = @app.call(env) + status, headers, _ = @app.call(env) [status, headers, []] else @app.call(env) |