ruby-changes:42130
From: nobu <ko1@a...>
Date: Sun, 20 Mar 2016 20:26:22 +0900 (JST)
Subject: [ruby-changes:42130] nobu:r54204 (trunk): time.c (mul): fix missing return.
nobu 2016-03-20 20:26:17 +0900 (Sun, 20 Mar 2016) New Revision: 54204 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54204 Log: time.c (mul): fix missing return. Modified files: trunk/time.c Index: time.c =================================================================== --- time.c (revision 54203) +++ time.c (revision 54204) @@ -95,7 +95,7 @@ static VALUE https://github.com/ruby/ruby/blob/trunk/time.c#L95 mul(VALUE x, VALUE y) { if (FIXNUM_P(x) && FIXNUM_P(y)) { - rb_fix_mul_fix(x, y); + return rb_fix_mul_fix(x, y); } if (RB_TYPE_P(x, T_BIGNUM)) return rb_big_mul(x, y); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/