summaryrefslogtreecommitdiff
path: root/ext/stringio
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-10 01:46:04 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-10 01:46:04 (GMT)
commitf7946774dd2dda12bc4c538b79c4b1af3b87a903 (patch)
tree3b887490f108f731a8a5fdd7ea8f0a178d80eb47 /ext/stringio
parent53934115007a58a8e41e7687f03394455f126edc (diff)
stringio.c: remove unnecessary check
* ext/stringio/stringio.c (writable): remove unnecessary check for deprecated safe level 4. [Fix GH-963] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio')
-rw-r--r--ext/stringio/stringio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c
index 89cc392..3a59226 100644
--- a/ext/stringio/stringio.c
+++ b/ext/stringio/stringio.c
@@ -139,8 +139,6 @@ writable(VALUE strio)
if (!WRITABLE(strio)) {
rb_raise(rb_eIOError, "not opened for writing");
}
- if (!OBJ_TAINTED(ptr->string)) {
- }
return ptr;
}