Skip to content

Commit b20f5da

Browse files
committed
Remove unused variable warning
$ make test/ruby/test_thread.rb RUBYOPT=-w >/dev/null test/ruby/test_thread.rb:1595: warning: assigned but unused variable - bug21127
1 parent 68e073d commit b20f5da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/ruby/test_thread.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,6 +1593,7 @@ def frame_for_deadlock_test_2
15931593
# [Bug #21342]
15941594
def test_unlock_locked_mutex_with_collected_fiber
15951595
bug21127 = '[ruby-core:120930] [Bug #21127]'
1596+
bug21127 = bug21127
15961597
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
15971598
begin;
15981599
5.times do

0 commit comments

Comments
 (0)