diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-06 15:32:09 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-06 15:32:09 +0000 |
| commit | 7a813817830e84e448e65033bc8b04b41de51182 (patch) | |
| tree | eb7f72cd8fb3c8ce05d6818207cd89a6e511d4fc | |
| parent | 028f74e0ba485b0cb86207042e0ee5f8ef95f9b0 (diff) | |
| download | ruby-7a813817830e84e448e65033bc8b04b41de51182.tar.gz ruby-7a813817830e84e448e65033bc8b04b41de51182.tar.xz ruby-7a813817830e84e448e65033bc8b04b41de51182.zip | |
* class.c (rb_include_module): remove unnecessary check.
[ruby-talk:218402]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | class.c | 3 |
2 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Sat Oct 7 00:27:58 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * class.c (rb_include_module): remove unnecessary check. + [ruby-talk:218402] + Fri Oct 6 04:30:30 2006 Akinori MUSHA <knu@iDaemons.org> * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5. @@ -379,9 +379,6 @@ rb_include_module(klass, module) rb_secure(4); } - if (NIL_P(module)) return; - if (klass == module) return; - if (TYPE(module) != T_MODULE) { Check_Type(module, T_MODULE); } |
