Skip to content

Commit

Permalink
Remove a warning in bootstraptest/runner.rb
Browse files Browse the repository at this point in the history
../bootstraptest/runner.rb:121: warning: assigned but unused variable - e
  • Loading branch information
k0kubun committed Mar 20, 2023
1 parent 2d8ecfc commit 7f696b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstraptest/runner.rb
Expand Up @@ -118,7 +118,7 @@ def wn=(wn)
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
Expand Down

0 comments on commit 7f696b8

Please sign in to comment.