ruby-changes:30277
From: nobu <ko1@a...>
Date: Fri, 2 Aug 2013 23:11:06 +0900 (JST)
Subject: [ruby-changes:30277] nobu:r42329 (trunk): bignum.c: suppress a warning
nobu 2013-08-02 23:10:51 +0900 (Fri, 02 Aug 2013) New Revision: 42329 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42329 Log: bignum.c: suppress a warning * bignum.c (rb_cstr_to_inum): remove set but unused variable. Modified files: trunk/bignum.c Index: bignum.c =================================================================== --- bignum.c (revision 42328) +++ bignum.c (revision 42329) @@ -3801,8 +3801,7 @@ rb_cstr_to_inum(const char *str, int bas https://github.com/ruby/ruby/blob/trunk/bignum.c#L3801 } else { int digits_per_bdigits_dbl; - BDIGIT_DBL power; - power = maxpow_in_bdigit_dbl(base, &digits_per_bdigits_dbl); + maxpow_in_bdigit_dbl(base, &digits_per_bdigits_dbl); num_bdigits = roomof(num_digits, digits_per_bdigits_dbl)*2; if (num_bdigits < KARATSUBA_MUL_DIGITS) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/