ruby-changes:72145
From: Yusuke <ko1@a...>
Date: Mon, 13 Jun 2022 10:38:03 +0900 (JST)
Subject: [ruby-changes:72145] 670de71628 (master): Prevent a warning: assigned but unused variable - out
https://git.ruby-lang.org/ruby.git/commit/?id=670de71628 From 670de7162872bf2bb6076163c0f633e2f5fe3e7d Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Mon, 13 Jun 2022 10:37:26 +0900 Subject: Prevent a warning: assigned but unused variable - out http://rubyci.s3.amazonaws.com/ubuntu1804/ruby-master/log/20220613T003003Z.log.html.gz ``` /home/chkbuild/chkbuild/tmp/build/20220613T003003Z/ruby/test/ruby/test_yjit_exit_locations.rb:96: warning: assigned but unused variable - out /home/chkbuild/chkbuild/tmp/build/20220613T003003Z/ruby/test/ruby/test_yjit_exit_locations.rb:96: warning: assigned but unused variable - err /home/chkbuild/chkbuild/tmp/build/20220613T003003Z/ruby/test/ruby/test_yjit_exit_locations.rb:96: warning: assigned but unused variable - status ``` --- test/ruby/test_yjit_exit_locations.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ruby/test_yjit_exit_locations.rb b/test/ruby/test_yjit_exit_locations.rb index 7ad98cb109..9bafe392d5 100644 --- a/test/ruby/test_yjit_exit_locations.rb +++ b/test/ruby/test_yjit_exit_locations.rb @@ -93,9 +93,9 @@ class TestYJITExitLocations < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_yjit_exit_locations.rb#L93 ] args << "-e" << script_shell_encode(script) stats_r, stats_w = IO.pipe - out, err, status = EnvUtil.invoke_ruby(args, - '', true, true, timeout: 1000, ios: { 3 => stats_w } - ) + _out, _err, _status = EnvUtil.invoke_ruby(args, + '', true, true, timeout: 1000, ios: { 3 => stats_w } + ) stats_w.close stats = stats_r.read stats = Marshal.load(stats) if !stats.empty? -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/