summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-21 13:46:14 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-21 13:46:14 +0000
commitc7a68e8d9d8cecd5b4305cb3787e843da1249c1b (patch)
tree447ee3b8e60dca760bd460575da91a35e8f4df8a /io.c
parent13ffa4c6ee87739e559d2db882e29b6ccf22ada2 (diff)
needless RB_GC_GUARD removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/io.c b/io.c
index c1ff1345a3..fcfd56a1fa 100644
--- a/io.c
+++ b/io.c
@@ -5732,7 +5732,6 @@ pipe_open_v(int argc, VALUE *argv, const char *modestr, int fmode, convconfig_t
VALUE execarg_obj, ret;
execarg_obj = rb_execarg_new(argc, argv, FALSE);
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
- RB_GC_GUARD(execarg_obj);
return ret;
}
@@ -5754,7 +5753,6 @@ pipe_open_s(VALUE prog, const char *modestr, int fmode, convconfig_t *convconfig
execarg_obj = rb_execarg_new(argc, argv, TRUE);
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
- RB_GC_GUARD(execarg_obj);
return ret;
}