aboutsummaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rational.c b/rational.c
index 066a73d4bf..ccf214c32a 100644
--- a/rational.c
+++ b/rational.c
@@ -1102,12 +1102,12 @@ i_ilog2(VALUE x)
static VALUE
nurat_to_f(VALUE self)
{
- get_dat1(self);
VALUE num, den;
int minus = 0;
long nl, dl, ml, ne, de;
int e;
double f;
+ get_dat1(self);
if (f_zero_p(dat->num))
return rb_float_new(0.0);