bignum.c: suppress a warning
* bignum.c (rb_cstr_to_inum): remove set but unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc7c0a63fd
commit
ba95b9787d
3
bignum.c
3
bignum.c
@ -3801,8 +3801,7 @@ rb_cstr_to_inum(const char *str, int base, int badcheck)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
int digits_per_bdigits_dbl;
|
int digits_per_bdigits_dbl;
|
||||||
BDIGIT_DBL power;
|
maxpow_in_bdigit_dbl(base, &digits_per_bdigits_dbl);
|
||||||
power = maxpow_in_bdigit_dbl(base, &digits_per_bdigits_dbl);
|
|
||||||
num_bdigits = roomof(num_digits, digits_per_bdigits_dbl)*2;
|
num_bdigits = roomof(num_digits, digits_per_bdigits_dbl)*2;
|
||||||
|
|
||||||
if (num_bdigits < KARATSUBA_MUL_DIGITS) {
|
if (num_bdigits < KARATSUBA_MUL_DIGITS) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user