mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue