summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-09 08:43:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-09 08:43:50 +0000
commitbc27f87889934099f1b8b17512c634b615062e22 (patch)
treeb41f1ae772a204b39e38bd164c01b252bf9b2f47
parentfc9e0302ea6756e0ea95dbc11216a3a776ad16a6 (diff)
Remove duplicate macro definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--rational.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rational.c b/rational.c
index bbae5fe..1642bc3 100644
--- a/rational.c
+++ b/rational.c
@@ -2472,8 +2472,6 @@ parse_rat(const char *s, const char *const e, int strict, int raise)
return num;
}
-#define FLOAT_ZERO_P(x) (rb_float_value(x) == 0.0)
-
static VALUE
string_to_r_strict(VALUE self, int raise)
{