From 129cad739b2655f638e04aac11b6e648b5ecb5f8 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 21 Jun 2012 10:01:27 +0000 Subject: [PATCH] remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 4 ---- 1 file changed, 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;