diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:59:01 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:59:01 +0000 |
commit | f3e35474078895e1d178e15cfbfc6743f9ffc62d (patch) | |
tree | a3fd49329f497133415a7ec11592b5c693459608 /lib/webrick/httpresponse.rb | |
parent | cceca83afe046b8c2b53eab6ab7c52faa1719b6d (diff) | |
download | ruby-f3e35474078895e1d178e15cfbfc6743f9ffc62d.tar.gz |
* lib/*.rb: Remove unused variable warnings.
Patch by Run Paint [ruby-core:30991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/httpresponse.rb')
-rw-r--r-- | lib/webrick/httpresponse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpresponse.rb b/lib/webrick/httpresponse.rb index 16bf15b6dd..0c292bed2d 100644 --- a/lib/webrick/httpresponse.rb +++ b/lib/webrick/httpresponse.rb @@ -280,7 +280,7 @@ module WEBrick if @request_method == "HEAD" # do nothing elsif chunked? - remain = body ? @body.bytesize : 0 + body ? @body.bytesize : 0 while buf = @body[@sent_size, @buffer_size] break if buf.empty? data = "" |