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 | cd3bc6fd5cef2963b694669b141a4e39a772e413 (patch) | |
tree | eb7f72cd8fb3c8ce05d6818207cd89a6e511d4fc /class.c | |
parent | ec5ff1197a9644c161b3baf6980d48b42926adbc (diff) |
* class.c (rb_include_module): remove unnecessary check.
[ruby-talk:218402]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); } |