ruby-changes:56501
From: Yusuke <ko1@a...>
Date: Sun, 14 Jul 2019 22:47:25 +0900 (JST)
Subject: [ruby-changes:56501] Yusuke Endoh: 36f2d9bac2 (master): numeric.c (fix_cmp): remove a unreachable return statement
https://git.ruby-lang.org/ruby.git/commit/?id=36f2d9bac2 From 36f2d9bac2c0e6dacc0488448c05dfde6ef2b23a Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Sun, 14 Jul 2019 22:46:34 +0900 Subject: numeric.c (fix_cmp): remove a unreachable return statement diff --git a/numeric.c b/numeric.c index 78c4c33..9bf5e0a 100644 --- a/numeric.c +++ b/numeric.c @@ -4196,7 +4196,6 @@ fix_cmp(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/numeric.c#L4196 else { return rb_num_coerce_cmp(x, y, id_cmp); } - return rb_num_coerce_cmp(x, y, id_cmp); } VALUE -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/