summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hash.c b/hash.c
index 14afcbb..dc8bdf5 100644
--- a/hash.c
+++ b/hash.c
@@ -688,8 +688,6 @@ static VALUE
rb_hash_to_s(hash)
VALUE hash;
{
- VALUE str;
-
if (rb_inspecting_p(hash)) return rb_str_new2("{...}");
return rb_protect_inspect(to_s_hash, hash, 0);
}
@@ -929,8 +927,6 @@ env_fetch(argc, argv)
char *nam, *env;
int len;
- VALUE val;
-
rb_scan_args(argc, argv, "11", &key, &if_none);
nam = rb_str2cstr(key, &len);
if (strlen(nam) != len) {