summaryrefslogtreecommitdiff
path: root/vm_backtrace.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-16 13:45:53 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-16 13:45:53 (GMT)
commit0ee11fc6a7605b1a6aeaa8799031447489b2feb3 (patch)
tree012b72a65d20f463192835714c1fe118d694f5fa /vm_backtrace.c
parent6338a3a4a4c0d8b37a07545421a425027c85f651 (diff)
* vm_backtrace.c (id2str): Fix a variable name.
[ruby-dev:48642] [Bug #10389] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_backtrace.c')
-rw-r--r--vm_backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index 63b5fc3..70db469 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -27,7 +27,7 @@ static VALUE
id2str(ID id)
{
VALUE str = rb_id2str(id);
- if (!id) return Qnil;
+ if (!str) return Qnil;
return str;
}
#define rb_id2str(id) id2str(id)