You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by sh...@apache.org on 2019/03/07 11:14:51 UTC

[arrow] branch master updated: ARROW-4793: [Ruby] Suppress unused variable warning

This is an automated email from the ASF dual-hosted git repository.

shiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new dccf7f7  ARROW-4793: [Ruby] Suppress unused variable warning
dccf7f7 is described below

commit dccf7f7bb53482c759b48b0449abd32b92d7bbfc
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Thu Mar 7 20:14:36 2019 +0900

    ARROW-4793: [Ruby] Suppress unused variable warning
    
    Message:
    
        ruby/red-arrow/test/test-bigdecimal.rb:20: warning: assigned but unused variable - arrow_decimal
    
    Author: Kouhei Sutou <ko...@clear-code.com>
    
    Closes #3828 from kou/ruby-suppress-warning and squashes the following commits:
    
    2f6c7e26 <Kouhei Sutou>  Suppress unused variable warning
---
 ruby/red-arrow/test/test-bigdecimal.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ruby/red-arrow/test/test-bigdecimal.rb b/ruby/red-arrow/test/test-bigdecimal.rb
index 3874a38..e25881c 100644
--- a/ruby/red-arrow/test/test-bigdecimal.rb
+++ b/ruby/red-arrow/test/test-bigdecimal.rb
@@ -17,7 +17,6 @@
 
 class BigDecimalTest < Test::Unit::TestCase
   test("#to_arrow") do
-    arrow_decimal = BigDecimal("3.14").to_arrow
     assert_equal(Arrow::Decimal128.new("3.14"),
                  BigDecimal("3.14").to_arrow)
   end