diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-21 15:51:14 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-07-21 15:51:14 +0000 |
commit | e2f75afbfb5e6f156fad47b29979778dd4a47676 (patch) | |
tree | 405983bcaf1a3d7f32c6e86747ba4e693921e288 /lib/net/http.rb | |
parent | bae2c78f725c629bcae34d63da7fad10f31ad977 (diff) | |
download | ruby-e2f75afbfb5e6f156fad47b29979778dd4a47676.tar.gz |
Set false to @proxy_from_env to suppress uninitialized warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 5a4d553388..357c41fbd7 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -967,6 +967,7 @@ module Net #:nodoc: @proxy_address = nil @proxy_port = nil else + @proxy_from_env = false @proxy_address = p_addr @proxy_port = p_port || default_port end |