From 2013dd465811b6d01129f25af4fbe84002a2273f Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sat, 17 Dec 2022 08:40:36 +0900 Subject: Prevent warning "assigned but unused variable - initial_shape" --- test/ruby/test_shapes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_shapes.rb b/test/ruby/test_shapes.rb index 40a43b9702..b2cd79ab12 100644 --- a/test/ruby/test_shapes.rb +++ b/test/ruby/test_shapes.rb @@ -266,7 +266,7 @@ class TestShapes < Test::Unit::TestCase def test_remove_then_add_again example = RemoveAndAdd.new - initial_shape = RubyVM::Shape.of(example) + _initial_shape = RubyVM::Shape.of(example) example.add_foo # makes a transition add_foo_shape = RubyVM::Shape.of(example) -- cgit v1.2.3