summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-27 07:27:48 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-27 07:27:48 +0000
commit592d885caa63c13cfec14cfc9b48ddc3bc55bb57 (patch)
treecfa1a2351fd00d924c874a0e1315101cd5006f76 /numeric.c
parent7175a9073ea23abe565f606aa042ea015c7340b9 (diff)
* numeric.c (flo_cmp): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 81be28cc33..740ef5442d 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1016,7 +1016,8 @@ rb_dbl_cmp(double a, double b)
static VALUE
flo_cmp(VALUE x, VALUE y)
{
- double a, b, i;
+ double a, b;
+ VALUE i;
a = RFLOAT_VALUE(x);
if (isnan(a)) return Qnil;