mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
time.c (mul): fix missing return.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
148f1b9d57
commit
ce5ba9197d
1 changed files with 1 additions and 1 deletions
2
time.c
2
time.c
|
@ -95,7 +95,7 @@ static VALUE
|
||||||
mul(VALUE x, VALUE y)
|
mul(VALUE x, VALUE y)
|
||||||
{
|
{
|
||||||
if (FIXNUM_P(x) && FIXNUM_P(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))
|
if (RB_TYPE_P(x, T_BIGNUM))
|
||||||
return rb_big_mul(x, y);
|
return rb_big_mul(x, y);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue