summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-20 11:26:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-20 11:26:17 +0000
commitce5ba9197d226c328eb101da10ee1f18a3ec1c30 (patch)
tree6066a8b5f7b976b2c86b4a769e43cb3078430787 /time.c
parent148f1b9d57d06923796fff5200db140a69af6d20 (diff)
time.c (mul): fix missing return.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
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);