From 1d7611ff4824f8ad64b174c3850807fb83b90ea0 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 2 Sep 2013 13:56:23 +0000 Subject: [PATCH] * bignum.c (ISDIGIT): Unused macro removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ bignum.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 608935e212..9fd567aaad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 2 22:55:59 2013 Tanaka Akira + + * bignum.c (ISDIGIT): Unused macro removed. + Mon Sep 2 22:49:15 2013 Tanaka Akira * bignum.c (str2big_poweroftwo): Extracted from rb_cstr_to_inum. diff --git a/bignum.c b/bignum.c index 472126f548..3ea2c4a4c3 100644 --- a/bignum.c +++ b/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);