[前][次][番号順一覧][スレッド一覧]

ruby-changes:53249

From: ko1 <ko1@a...>
Date: Wed, 31 Oct 2018 11:06:38 +0900 (JST)
Subject: [ruby-changes:53249] ko1:r65464 (trunk): remove '//' style comments.

ko1	2018-10-31 11:06:33 +0900 (Wed, 31 Oct 2018)

  New Revision: 65464

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65464

  Log:
    remove '//' style comments.
    
    * hash.c: remove '//' style comments pointed out by the following
      build log: https://travis-ci.org/ruby/ruby/jobs/448551951

  Modified files:
    trunk/hash.c
Index: hash.c
===================================================================
--- hash.c	(revision 65463)
+++ hash.c	(revision 65464)
@@ -402,8 +402,6 @@ hash_verify_(VALUE hash, const char *fil https://github.com/ruby/ruby/blob/trunk/hash.c#L402
 {
     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, https://github.com/ruby/ruby/blob/trunk/hash.c#L1493
     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 https://github.com/ruby/ruby/blob/trunk/hash.c#L4221
  * 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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]