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 43c49350f6..cefdfecdbf 100644
--- a/rational.c
+++ b/rational.c
@@ -2280,7 +2280,7 @@ islettere(int c)
static int
read_num(const char **s, const char *const end, VALUE *num, VALUE *div)
{
- VALUE fp = ONE, exp, fn = ZERO, n;
+ VALUE fp = ONE, exp, fn = ZERO, n = ZERO;
int expsign = 0, ok = 0;
char *e;