Skip to content

Commit

Permalink
Removed no longer used variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and ko1 committed Dec 15, 2021
1 parent a6ebc10 commit a4a3528
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hash.c
Expand Up @@ -5490,7 +5490,6 @@ static VALUE
env_values(void)
{
VALUE ary;
char **env;

ary = rb_ary_new();
rb_native_mutex_lock(&env_lock);
Expand Down Expand Up @@ -5579,7 +5578,6 @@ env_each_value(VALUE ehash)
static VALUE
env_each_pair(VALUE ehash)
{
char **env;
VALUE ary;
long i;

Expand Down Expand Up @@ -5939,7 +5937,6 @@ env_to_s(VALUE _)
static VALUE
env_inspect(VALUE _)
{
char **env;
VALUE str, i;

str = rb_str_buf_new2("{");
Expand Down Expand Up @@ -5981,7 +5978,6 @@ env_inspect(VALUE _)
static VALUE
env_to_a(VALUE _)
{
char **env;
VALUE ary;

ary = rb_ary_new();
Expand Down Expand Up @@ -6226,7 +6222,6 @@ env_rassoc(VALUE dmy, VALUE obj)
static VALUE
env_key(VALUE dmy, VALUE value)
{
char **env;
VALUE str;

SafeStringValue(value);
Expand All @@ -6246,15 +6241,13 @@ env_key(VALUE dmy, VALUE value)
return str;
}
}
env++;
}
return Qnil;
}

static VALUE
env_to_hash(void)
{
char **env;
VALUE hash;

hash = rb_hash_new();
Expand Down

0 comments on commit a4a3528

Please sign in to comment.