ruby-changes:72815
From: David <ko1@a...>
Date: Fri, 5 Aug 2022 00:09:30 +0900 (JST)
Subject: [ruby-changes:72815] c84d0538be (master): [rubygems/rubygems] Fix unused variable warning
https://git.ruby-lang.org/ruby.git/commit/?id=c84d0538be From c84d0538be3b5f6739c6968f3bb1b8e4abe8eadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Thu, 4 Aug 2022 10:57:15 +0200 Subject: [rubygems/rubygems] Fix unused variable warning ``` /Users/deivid/Code/rubygems/rubygems/test/rubygems/test_gem_resolver_installer_set.rb:55: warning: assigned but unused variable - a_1_local ``` https://github.com/rubygems/rubygems/commit/9ea4534800 --- test/rubygems/test_gem_resolver_installer_set.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/test_gem_resolver_installer_set.rb b/test/rubygems/test_gem_resolver_installer_set.rb index 32e1faa28d..ffa6b13ea4 100644 --- a/test/rubygems/test_gem_resolver_installer_set.rb +++ b/test/rubygems/test_gem_resolver_installer_set.rb @@ -52,7 +52,7 @@ class TestGemResolverInstallerSet < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_resolver_installer_set.rb#L52 end def test_add_always_install_index_spec_platform - a_1_local, a_1_local_gem = util_gem "a", 1 do |s| + _, a_1_local_gem = util_gem "a", 1 do |s| s.platform = Gem::Platform.local end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/