summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-03 13:33:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-03 13:33:06 +0000
commita98c65338d098aa9ababe99bebb05e174e281d53 (patch)
tree26b29d2f75ef5dc1398ba5c1bd69d0228947ddbb
parent6959bc503c302e992e7749251aa11e5e178db9c3 (diff)
rubygems/util.rb: remove unused variable
* lib/rubygems/util.rb (Gem::Util.silent_system): remove unused variable, to fix test failures with verbose flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/rubygems/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/util.rb b/lib/rubygems/util.rb
index daa9775..cd0af4d 100644
--- a/lib/rubygems/util.rb
+++ b/lib/rubygems/util.rb
@@ -80,7 +80,7 @@ module Gem::Util
cmds = command.dup
end
return system(*(cmds << opt))
- rescue TypeError => e
+ rescue TypeError
require 'thread'
@silent_mutex ||= Mutex.new