summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-21 10:01:27 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-21 10:01:27 +0000
commit129cad739b2655f638e04aac11b6e648b5ecb5f8 (patch)
tree53031efa8781a4a975e66370677bc6dd3239dc44 /io.c
parent46e23dc03df77f6c3d4310233d2cf60902b98751 (diff)
remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/io.c b/io.c
index 9e22f338d1..d0a57e8fbd 100644
--- a/io.c
+++ b/io.c
@@ -5730,9 +5730,7 @@ static VALUE
pipe_open_v(int argc, VALUE *argv, const char *modestr, int fmode, convconfig_t *convconfig)
{
VALUE execarg_obj, ret;
- struct rb_execarg *earg;
execarg_obj = rb_execarg_new(argc, argv, FALSE);
- earg = rb_execarg_get(execarg_obj);
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
RB_GC_GUARD(execarg_obj);
return ret;
@@ -5745,7 +5743,6 @@ pipe_open_s(VALUE prog, const char *modestr, int fmode, convconfig_t *convconfig
int argc = 1;
VALUE *argv = &prog;
VALUE execarg_obj, ret;
- struct rb_execarg *earg;
if (RSTRING_LEN(prog) == 1 && cmd[0] == '-') {
#if !defined(HAVE_FORK)
@@ -5756,7 +5753,6 @@ pipe_open_s(VALUE prog, const char *modestr, int fmode, convconfig_t *convconfig
}
execarg_obj = rb_execarg_new(argc, argv, TRUE);
- earg = rb_execarg_get(execarg_obj);
ret = pipe_open(execarg_obj, modestr, fmode, convconfig);
RB_GC_GUARD(execarg_obj);
return ret;