From 210ebe1acf1647f3096828b66313b8131778f5a0 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 26 Feb 2002 12:36:26 +0000 Subject: * bignum.c (rb_big_2comp): void function cannot return any value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ bignum.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7f9f5656bf..9559e205d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 26 21:34:07 2002 Usaku Nakamura + + * bignum.c (rb_big_2comp): void function cannot return any value. + Tue Feb 26 15:41:30 2002 Yukihiro Matsumoto * eval.c (rb_eval): call trace_func for if/while conditions. diff --git a/bignum.c b/bignum.c index d778406487..fb3afdc3c0 100644 --- a/bignum.c +++ b/bignum.c @@ -101,7 +101,7 @@ void rb_big_2comp(x) /* get 2's complement */ VALUE x; { - return get2comp(x, Qtrue); + get2comp(x, Qtrue); } static VALUE -- cgit v1.2.3