summaryrefslogtreecommitdiff
path: root/safe.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-17 06:17:21 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-17 06:17:21 +0000
commitf9fca8316a652ae157ef7abb40b970652a604a97 (patch)
tree9f2a4d2ecc3a3b90f6599359586871708d1ae36c /safe.c
parentbbf440c90b036c733729b1a5c996978ac2adaa9d (diff)
* safe.rb (safe_setter): of course, don't have to warn the limitation of
$SAFE=3 after it's removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'safe.c')
-rw-r--r--safe.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/safe.c b/safe.c
index 68adfb7a3b..87dea2e724 100644
--- a/safe.c
+++ b/safe.c
@@ -75,9 +75,6 @@ safe_setter(VALUE val)
"tried to downgrade safe level from %d to %d",
th->safe_level, level);
}
- if (level == 3) {
- rb_warning("$SAFE=3 does no sandboxing");
- }
if (level > SAFE_LEVEL_MAX) {
rb_raise(rb_eArgError, "$SAFE=3 and 4 is obsolete");
}