summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-26 12:36:26 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-26 12:36:26 +0000
commit9a584a0125c154160720cab243c0693b0e8b8102 (patch)
tree67c758d19fab892f6ebfcc76b981df8f297575fb
parent8bfdece6657b36399e9b501a69a20956bbf0aa2a (diff)
downloadruby-9a584a0125c154160720cab243c0693b0e8b8102.tar.gz
ruby-9a584a0125c154160720cab243c0693b0e8b8102.tar.xz
ruby-9a584a0125c154160720cab243c0693b0e8b8102.zip
* bignum.c (rb_big_2comp): void function cannot return any value.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--bignum.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f9f5656b..9559e205d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 26 21:34:07 2002 Usaku Nakamura <usa@ruby-lang.org>
+
+ * bignum.c (rb_big_2comp): void function cannot return any value.
+
Tue Feb 26 15:41:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): call trace_func for if/while conditions.
diff --git a/bignum.c b/bignum.c
index d77840648..fb3afdc3c 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