1
0
Fork 0
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:
akr 2013-09-02 13:56:23 +00:00
parent 5f61a592e9
commit 1d7611ff48
2 changed files with 4 additions and 3 deletions

View file

@ -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.

View file

@ -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);