summaryrefslogtreecommitdiff
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 f987181e34..632f0dcaa9 100644
--- a/hash.c
+++ b/hash.c
@@ -880,8 +880,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);