* variable.c (check_before_mod_set): should be static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
deb0024af1
commit
f0fbf6c976
@ -1896,7 +1896,7 @@ rb_public_const_defined_at(VALUE klass, ID id)
|
||||
return rb_const_defined_0(klass, id, TRUE, FALSE, TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
check_before_mod_set(VALUE klass, ID id, VALUE val, const char *dest)
|
||||
{
|
||||
if (!OBJ_UNTRUSTED(klass) && rb_safe_level() >= 4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user