diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:58:42 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:58:42 +0000 |
commit | cceca83afe046b8c2b53eab6ab7c52faa1719b6d (patch) | |
tree | cfe7eac6ed4c0f4cabca1d7ec08ce1e144a8b95a /lib/rubygems/format.rb | |
parent | 571ed8655fa499084114024c4a7f249228a8bc3d (diff) | |
download | ruby-cceca83afe046b8c2b53eab6ab7c52faa1719b6d.tar.gz |
* lib/rubygems/*: Remove unused variables warnings
Patch by Run Paint [ruby-core:30991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/format.rb')
-rw-r--r-- | lib/rubygems/format.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rubygems/format.rb b/lib/rubygems/format.rb index 82eaf9e77e..d4c66d9f85 100644 --- a/lib/rubygems/format.rb +++ b/lib/rubygems/format.rb @@ -32,8 +32,6 @@ class Gem::Format # representing the data in the gem def self.from_file_by_path(file_path, security_policy = nil) - format = nil - unless File.exist?(file_path) raise Gem::Exception, "Cannot load gem at [#{file_path}] in #{Dir.pwd}" end |