summaryrefslogtreecommitdiff
path: root/lib/rubygems/format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/format.rb')
-rw-r--r--lib/rubygems/format.rb2
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