summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/numeric.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c
index de43dccba..c2393dc09 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -1105,7 +1105,6 @@ mrb_fixnum_minus(mrb_state *mrb, mrb_value x, mrb_value y)
mrb_int a;
a = mrb_fixnum(x);
- if (a == 0) return y;
if (FIXNUM_P(y)) {
mrb_int b, c;