summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 02:39:08 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-31 02:39:08 +0000
commit2c62beb6b61e5c66ac165e6d759750e9340f5f62 (patch)
tree1c58d01b89f4acf9024d2c60ffe59074fa6864c6 /variable.c
parent89aaf7db9eecc578491809ea145190816c30f4c5 (diff)
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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 1781c82ce4..d53e788b0a 100644
--- a/variable.c
+++ b/variable.c
@@ -1422,7 +1422,6 @@ obj_ivar_set(VALUE obj, ID id, VALUE val)
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;