diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-23 14:50:38 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-23 14:50:38 +0000 |
commit | 1ad4751aac6d2f6e3277569397c605679c12c058 (patch) | |
tree | 882b495e250560ac74c3494aad4bb9f781ca4a16 /process.c | |
parent | f1734b4287e81ad281924c9acf89a754e43c6e2e (diff) | |
download | ruby-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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)) { |