summaryrefslogtreecommitdiff
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
commit24be74914f65dddd761ae36c9ebbcf1c3494ea23 (patch)
treed537fa9871c261f429e35834aa932bb321cc2e1f
parentb545a90ac710260c1220606329078c9fb384fc59 (diff)
* bignum.c (rb_big_2comp): void function cannot return any value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@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 d177e7f0a0..36d84ba48b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 26 21:36:01 2002 Usaku Nakamura <usa@ruby-lang.org>
+
+ * bignum.c (rb_big_2comp): void function cannot return any value.
+
Tue Feb 26 11:25:50 2002 akira yamada <akira@arika.org>
* lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is
diff --git a/bignum.c b/bignum.c
index 9fb347a188..1f99855d4e 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