aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 13a6e26c6a..4fd2dd0a07 100644
--- a/hash.c
+++ b/hash.c
@@ -862,8 +862,6 @@ static VALUE
rb_hash_clear(hash)
VALUE hash;
{
- void *tmp;
-
rb_hash_modify(hash);
if (RHASH(hash)->tbl->num_entries > 0) {
rb_hash_foreach(hash, clear_i, 0);