aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-19 21:02:16 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-19 21:02:21 -0700
commit7f696b8859e91725262b7dc731078baf8fa95d56 (patch)
tree8b22687eaedce3f2f449abe80fa349c2f93ddec9 /bootstraptest
parent2d8ecfcc9a1cf65104bd0f61542a969dc3bd2317 (diff)
downloadruby-7f696b8859e91725262b7dc731078baf8fa95d56.tar.gz
Remove a warning in bootstraptest/runner.rb
../bootstraptest/runner.rb:121: warning: assigned but unused variable - e
Diffstat (limited to 'bootstraptest')
-rwxr-xr-xbootstraptest/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index fc4998b523..c8ba824407 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -118,7 +118,7 @@ BT = Class.new(bt) do
r = IO.for_fd($1.to_i(10), "rb", autoclose: false)
w = IO.for_fd($2.to_i(10), "wb", autoclose: false)
end
- rescue => e
+ rescue
r.close if r
else
r.close_on_exec = true