summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-07-14 22:46:34 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-07-14 22:46:34 +0900
commit36f2d9bac2c0e6dacc0488448c05dfde6ef2b23a (patch)
treec64e6a0493a85c66235393aafed17ebd73a489eb /numeric.c
parent49362ddac60bb9d348cbcd8b7c003f52f5ffa1f5 (diff)
numeric.c (fix_cmp): remove a unreachable return statement
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 78c4c33542..9bf5e0a205 100644
--- a/numeric.c
+++ b/numeric.c
@@ -4196,7 +4196,6 @@ fix_cmp(VALUE x, VALUE y)
else {
return rb_num_coerce_cmp(x, y, id_cmp);
}
- return rb_num_coerce_cmp(x, y, id_cmp);
}
VALUE