From ce5ba9197d226c328eb101da10ee1f18a3ec1c30 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 20 Mar 2016 11:26:17 +0000 Subject: [PATCH] time.c (mul): fix missing return. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time.c b/time.c index 38b3a68481..908ad2fcd1 100644 --- a/time.c +++ b/time.c @@ -95,7 +95,7 @@ static VALUE 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);