ruby-changes:24112
From: akr <ko1@a...>
Date: Thu, 21 Jun 2012 19:01:40 +0900 (JST)
Subject: [ruby-changes:24112] akr:r36163 (trunk): remove unused variables.
akr 2012-06-21 19:01:27 +0900 (Thu, 21 Jun 2012) New Revision: 36163 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36163 Log: remove unused variables. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 36162) +++ io.c (revision 36163) @@ -5730,9 +5730,7 @@ 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 @@ 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 @@ } 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/