mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
variable.c: removed old warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
59f502295f
commit
9a74cc0a55
1 changed files with 0 additions and 5 deletions
|
@ -2260,12 +2260,7 @@ rb_const_search(VALUE klass, ID id, int exclude, int recurse, int visibility)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (exclude && tmp == rb_cObject && klass != rb_cObject) {
|
if (exclude && tmp == rb_cObject && klass != rb_cObject) {
|
||||||
#if 0
|
|
||||||
rb_warn("toplevel constant %"PRIsVALUE" referenced by %"PRIsVALUE"::%"PRIsVALUE"",
|
|
||||||
QUOTE_ID(id), rb_class_name(klass), QUOTE_ID(id));
|
|
||||||
#else
|
|
||||||
return Qundef;
|
return Qundef;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue