summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-06-11 06:30:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-06-11 06:30:01 +0000
commitbe83b8be34318b74544d435305cb98689eae8089 (patch)
treee83027e2d8b4a3ab3435eaf9eb345ced538d3ca8 /hash.c
parentecfa8525662a6c9d0570c2ac53cfbeb809a62e8f (diff)
990611
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index 8a219aa..7222262 100644
--- a/hash.c
+++ b/hash.c
@@ -205,7 +205,6 @@ rb_hash_s_new(argc, argv, klass)
hash->ifnone = ifnone;
hash->tbl = st_init_table(&objhash);
- rb_obj_call_init((VALUE)hash, argc, argv);
return (VALUE)hash;
}
@@ -249,7 +248,6 @@ rb_hash_s_create(argc, argv, klass)
hash->ifnone = Qnil;
hash->tbl = 0; /* avoid GC crashing */
hash->tbl = st_copy(RHASH(argv[0])->tbl);
- rb_obj_call_init((VALUE)hash, argc, argv);
return (VALUE)hash;
}
@@ -267,7 +265,6 @@ rb_hash_s_create(argc, argv, klass)
for (i=0; i<argc; i+=2) {
st_insert(RHASH(hash)->tbl, argv[i], argv[i+1]);
}
- rb_obj_call_init(hash, argc, argv);
return hash;
}