summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/numeric.c b/numeric.c
index 90db8aab96..801370aa43 100644
--- a/numeric.c
+++ b/numeric.c
@@ -4147,6 +4147,8 @@ rb_num_pow(VALUE x, VALUE y)
return rb_complex_pow(x, y);
case T_RATIONAL:
return rb_rational_pow(x, y);
+ default:
+ break;
}
return Qnil;
}