summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 02:06:33 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 02:06:33 +0000
commitce9911c4831cf09a7c35c04a7cc65ac24bbedec2 (patch)
tree5d513aee38fed80c6f0f5023142ac733b754aa0f /hash.c
parentc608b2707ba30cf99ae4b1fb6c9a150a88598269 (diff)
remove '//' style comments.
* hash.c: remove '//' style comments pointed out by the following build log: https://travis-ci.org/ruby/ruby/jobs/448551951 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hash.c b/hash.c
index 76e367c..952a3e7 100644
--- a/hash.c
+++ b/hash.c
@@ -402,8 +402,6 @@ hash_verify_(VALUE hash, const char *file, int line)
{
HASH_ASSERT(RB_TYPE_P(hash, T_HASH));
- // hash_dump(hash);
-
if (RHASH_ARRAY_P(hash)) {
int i, n = 0, bound = RHASH_ARRAY_BOUND(hash);
@@ -1495,7 +1493,7 @@ rb_hash_s_create(int argc, VALUE *argv, VALUE klass)
VALUE hash, tmp;
if (argc == 1) {
- tmp = rb_hash_s_try_convert(Qnil, argv[0]); //TODO tmp array flag
+ tmp = rb_hash_s_try_convert(Qnil, argv[0]);
if (!NIL_P(tmp)) {
hash = hash_alloc(klass);
if (RHASH_ARRAY_P(tmp)) {
@@ -4223,7 +4221,7 @@ add_new_i(st_data_t *key, st_data_t *val, st_data_t arg, int existing)
* returns non-zero if +key+ was contained.
*/
int
-rb_hash_add_new_element(VALUE hash, VALUE key, VALUE val) //TODO
+rb_hash_add_new_element(VALUE hash, VALUE key, VALUE val)
{
st_table *tbl;
int ret = 0;