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:
parent
13ffa4c6ee
commit
c7a68e8d9d
1 changed files with 0 additions and 2 deletions
2
io.c
2
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue