ruby-changes:34964
From: nobu <ko1@a...>
Date: Sun, 3 Aug 2014 22:33:10 +0900 (JST)
Subject: [ruby-changes:34964] nobu:r47046 (trunk): rubygems/util.rb: remove unused variable
nobu 2014-08-03 22:33:06 +0900 (Sun, 03 Aug 2014) New Revision: 47046 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47046 Log: rubygems/util.rb: remove unused variable * lib/rubygems/util.rb (Gem::Util.silent_system): remove unused variable, to fix test failures with verbose flag. Modified files: trunk/lib/rubygems/util.rb Index: lib/rubygems/util.rb =================================================================== --- lib/rubygems/util.rb (revision 47045) +++ lib/rubygems/util.rb (revision 47046) @@ -80,7 +80,7 @@ module Gem::Util https://github.com/ruby/ruby/blob/trunk/lib/rubygems/util.rb#L80 cmds = command.dup end return system(*(cmds << opt)) - rescue TypeError => e + rescue TypeError require 'thread' @silent_mutex ||= Mutex.new -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/