diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-13 10:37:26 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-13 10:37:26 +0900 |
| commit | 670de7162872bf2bb6076163c0f633e2f5fe3e7d (patch) | |
| tree | e16af248433678cf02c0da8cdd46eca02a9f1db5 /test/ruby | |
| parent | ee7aca31f5e962a60e5bd0c6f8907ba7f5367e48 (diff) | |
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
```
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_yjit_exit_locations.rb | 6 |
1 files 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 ] 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? |
