diff --git a/ChangeLog b/ChangeLog index 4a210a0825..49a79d5047 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 17 11:39:39 2008 Kazuhiro NISHIYAMA + + * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash): + shut up warning. see [ruby-dev:37437] + Wed Dec 17 11:01:35 2008 Nobuyoshi Nakada * string.c (rb_str_hash): gets rid of collisions between differen diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb index fd5b4afd91..7eecc1ade1 100644 --- a/test/bigdecimal/test_bigdecimal.rb +++ b/test/bigdecimal/test_bigdecimal.rb @@ -256,8 +256,8 @@ class TestBigDecimal < Test::Unit::TestCase def test_hash a = [] - x = BigDecimal.new("1") - 10.times { a << x *= 10 } + b = BigDecimal.new("1") + 10.times { a << b *= 10 } h = {} a.each_with_index {|x, i| h[x] = i } a.each_with_index do |x, i|