ruby-changes:24152
From: akr <ko1@a...>
Date: Sat, 23 Jun 2012 23:50:48 +0900 (JST)
Subject: [ruby-changes:24152] akr:r36203 (trunk): * process.c (proc_spawn_cmd): unused variable removed to suppress a
akr 2012-06-23 23:50:38 +0900 (Sat, 23 Jun 2012) New Revision: 36203 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36203 Log: * process.c (proc_spawn_cmd): unused variable removed to suppress a warning. (save_env): ditto. [ruby-core:45797] reported by Luis Lavena. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36202) +++ ChangeLog (revision 36203) @@ -1,3 +1,11 @@ +Sat Jun 23 23:48:21 2012 Tanaka Akira <akr@f...> + + * process.c (proc_spawn_cmd): unused variable removed to suppress a + warning. + (save_env): ditto. + + [ruby-core:45797] reported by Luis Lavena. + Sat Jun 23 23:19:31 2012 Tanaka Akira <akr@f...> * internal.h (rb_execarg): add new_pgroup_given and new_pgroup_flag @@ -9,6 +17,8 @@ (rb_execarg_addopt): use the new fields. (rb_spawn_process): follow the proc_spawn_cmd change. + [ruby-core:45794] [ruby-trunk - Bug #6633] reported by Luis Lavena. + Sat Jun 23 20:26:36 2012 Tanaka Akira <akr@f...> * internal.h (rb_execarg): add fd_dup2, fd_close, fd_open, Index: process.c =================================================================== --- process.c (revision 36202) +++ process.c (revision 36203) @@ -1343,7 +1343,6 @@ static rb_pid_t proc_spawn_cmd(char **argv, VALUE prog, struct rb_execarg *eargp) { - VALUE options = eargp->options; rb_pid_t pid = -1; if (argv[0]) { @@ -2705,10 +2704,8 @@ static void save_env(struct rb_execarg *sargp) { - VALUE soptions; if (!sargp) return; - soptions = sargp->options; if (sargp->env_modification == Qfalse) { VALUE env = rb_const_get(rb_cObject, rb_intern("ENV")); if (RTEST(env)) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/