From f3e35474078895e1d178e15cfbfc6743f9ffc62d Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 8 Nov 2010 20:59:01 +0000 Subject: * 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 --- lib/webrick/httpresponse.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/webrick/httpresponse.rb') 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 = "" -- cgit v1.2.3