mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* bignum.c (ISDIGIT): Unused macro removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f61a592e9
commit
1d7611ff48
2 changed files with 4 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Sep 2 22:55:59 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (ISDIGIT): Unused macro removed.
|
||||
|
||||
Mon Sep 2 22:49:15 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (str2big_poweroftwo): Extracted from rb_cstr_to_inum.
|
||||
|
|
3
bignum.c
3
bignum.c
|
@ -3751,9 +3751,6 @@ rb_cstr_to_inum(const char *str, int base, int badcheck)
|
|||
size_t num_digits;
|
||||
size_t num_bdigits;
|
||||
|
||||
#undef ISDIGIT
|
||||
#define ISDIGIT(c) ('0' <= (c) && (c) <= '9')
|
||||
|
||||
if (!str) {
|
||||
if (badcheck) goto bad;
|
||||
return INT2FIX(0);
|
||||
|
|
Loading…
Reference in a new issue