[前][次][番号順一覧][スレッド一覧]

ruby-changes:63131

From: Yusuke <ko1@a...>
Date: Fri, 25 Sep 2020 23:40:14 +0900 (JST)
Subject: [ruby-changes:63131] 0db5324e0d (master): test/ruby/test_memory_view.rb: prevent "assigned but unused variable - members"

https://git.ruby-lang.org/ruby.git/commit/?id=0db5324e0d

From 0db5324e0d3e891768962de8da7507be0288f18f Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Fri, 25 Sep 2020 23:39:35 +0900
Subject: test/ruby/test_memory_view.rb: prevent "assigned but unused variable
 - members"


diff --git a/test/ruby/test_memory_view.rb b/test/ruby/test_memory_view.rb
index b9bcae9..7a5ebb9 100644
--- a/test/ruby/test_memory_view.rb
+++ b/test/ruby/test_memory_view.rb
@@ -143,7 +143,7 @@ class TestMemoryView < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_memory_view.rb#L143
   end
 
   def test_rb_memory_view_parse_item_format_with_alignment_total_size_with_tail_padding
-    total_size, members, err = MemoryViewTestUtils.parse_item_format("|lqc")
+    total_size, _members, err = MemoryViewTestUtils.parse_item_format("|lqc")
     assert_nil(err)
 
     expected_total_size = sizeof(:int32_t)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]