summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-23 14:50:38 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-23 14:50:38 +0000
commit1ad4751aac6d2f6e3277569397c605679c12c058 (patch)
tree882b495e250560ac74c3494aad4bb9f781ca4a16 /process.c
parentf1734b4287e81ad281924c9acf89a754e43c6e2e (diff)
downloadruby-1ad4751aac6d2f6e3277569397c605679c12c058.tar.gz
* process.c (proc_spawn_cmd): unused variable removed to suppress a
warning. (save_env): ditto. [ruby-core:45797] reported by Luis Lavena. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/process.c b/process.c
index b30e413b28..a83c4120ab 100644
--- a/process.c
+++ b/process.c
@@ -1343,7 +1343,6 @@ proc_spawn_cmd_internal(char **argv, char *prog)
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 @@ save_env_i(VALUE i, VALUE ary, int argc, VALUE *argv)
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)) {