aboutsummaryrefslogtreecommitdiffstats
path: root/node.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-31 14:29:49 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-31 14:29:49 +0000
commit6b06ba0c05cf966fa495fcaea6a934434e0460da (patch)
treefb70d9ac6e08c0971374c5b954d4be3e09dbfe49 /node.c
parentff4ba406a2c334ee1148b6c0797273097462f8c7 (diff)
downloadruby-6b06ba0c05cf966fa495fcaea6a934434e0460da.tar.gz
* node.c (add_id): remove duplicated rb_id2str() call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index c71fa460e9..d1f1b70832 100644
--- a/node.c
+++ b/node.c
@@ -77,7 +77,7 @@ add_id(VALUE buf, ID id)
else {
VALUE str = rb_id2str(id);
if (str) {
- A(":"); AR(rb_id2str(id));
+ A(":"); AR(str);
}
else {
A("(internal variable)");