diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-06-16 04:24:38 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-06-16 04:24:38 +0000 |
commit | 16487ee284f17cfbf6fad9f6b2fedc57f0f37e0a (patch) | |
tree | 0c0aab325ab782ff559d1cfa5df269e786219ee3 /variable.c | |
parent | 83687c4eb47e2bcbe463d097317d068d1dd0b734 (diff) |
baseline
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/variable.c b/variable.c index 7269ee1d87..7a827ed88b 100644 --- a/variable.c +++ b/variable.c @@ -211,8 +211,6 @@ rb_name_class(klass, id) VALUE klass; ID id; { - extern VALUE cString; - if (cString) { rb_iv_set(klass, "__classpath__", str_new2(rb_id2name(id))); } @@ -619,7 +617,6 @@ rb_gvar_set(entry, val) struct trace_data trace; if (rb_safe_level() >= 4) { - extern VALUE eSecurityError; Raise(eSecurityError, "cannot change global variable value"); } (*entry->setter)(val, entry->id, entry->data, entry); @@ -725,7 +722,6 @@ rb_ivar_set(obj, id, val) VALUE val; { if (rb_safe_level() >= 5) { - extern VALUE eSecurityError; Raise(eSecurityError, "cannot change object status"); } switch (TYPE(obj)) { |