aboutsummaryrefslogtreecommitdiffstats
path: root/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 1d7d5e4188..027932dee9 100644
--- a/math.c
+++ b/math.c
@@ -710,7 +710,7 @@ static VALUE
math_lgamma(VALUE obj, VALUE x)
{
double d0, d;
- int sign;
+ int sign=1;
VALUE v;
Need_Float(x);
errno = 0;