From ce9911c4831cf09a7c35c04a7cc65ac24bbedec2 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 31 Oct 2018 02:06:33 +0000 Subject: [PATCH] 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 --- hash.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hash.c b/hash.c index 76e367c30e..952a3e72fb 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;