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

ruby-changes:53251

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

ko1	2018-10-31 11:39:08 +0900 (Wed, 31 Oct 2018)

  New Revision: 65466

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

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

  Modified files:
    trunk/variable.c
Index: variable.c
===================================================================
--- variable.c	(revision 65465)
+++ variable.c	(revision 65466)
@@ -1422,7 +1422,6 @@ obj_ivar_set(VALUE obj, ID id, VALUE val https://github.com/ruby/ruby/blob/trunk/variable.c#L1422
 
             if (RBASIC(obj)->flags & ROBJECT_EMBED) {
                 newptr = obj_ivar_heap_alloc(obj, newsize);
-                // newptr = ALLOC_N(VALUE, newsize);
                 MEMCPY(newptr, ptr, VALUE, len);
                 RBASIC(obj)->flags &= ~ROBJECT_EMBED;
                 ROBJECT(obj)->as.heap.ivptr = newptr;

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

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