1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

needless RB_GC_GUARD removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-06-21 13:46:14 +00:00
parent 13ffa4c6ee
commit c7a68e8d9d

2
io.c
View file

@ -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;
}