summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-26 00:48:33 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-26 00:48:33 +0000
commit7c4d1fe5e04cee519322a02d6e54801b0b118ea0 (patch)
tree417896793429b49996a0c7627df66056584bf250 /variable.c
parent12852c2e9ad0b25395d32c4ee147eb770408cf41 (diff)
* regex.c (re_match): p1 may exceed pend limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/variable.c b/variable.c
index 255854d..4d3944d 100644
--- a/variable.c
+++ b/variable.c
@@ -143,9 +143,6 @@ classname(klass)
VALUE path = Qnil;
ID classpath = rb_intern("__classpath__");
- if (TYPE(klass) == T_ICLASS) {
- klass = RBASIC(klass)->klass;
- }
klass = rb_class_real(klass);
if (!klass) klass = rb_cObject;
if (ROBJECT(klass)->iv_tbl &&