summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-21 22:30:43 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-21 22:30:43 +0000
commitb0837c440eef2199eb1ef58f92b18cf0b5910d01 (patch)
tree714c78ed8e65b5ceae8afbd0672a8cccf2301140 /lib/net
parent8de500cefca5e021f9fc792badddfddf48b1b409 (diff)
Suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/http/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http/response.rb b/lib/net/http/response.rb
index 69c84bfe28..6b044c3d34 100644
--- a/lib/net/http/response.rb
+++ b/lib/net/http/response.rb
@@ -372,7 +372,7 @@ class Net::HTTPResponse
def read clen, dest, ignore_eof = false
temp_dest = inflate_adapter(dest)
- data = @socket.read clen, temp_dest, ignore_eof
+ @socket.read clen, temp_dest, ignore_eof
end
##