From f9fca8316a652ae157ef7abb40b970652a604a97 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 17 Jun 2015 06:17:21 +0000 Subject: * 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 --- safe.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'safe.c') 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"); } -- cgit v1.2.3