summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-04 03:21:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-04 03:21:43 +0000
commitf9b8e21fd1575523e7dc8ce68db7cbea2035e4b6 (patch)
treea5c26564f6c95ad277b058205e3ee87f1e963982 /variable.c
parent096ffa2a633e7d78d773c9b8f487c5cb9170d7e1 (diff)
fix typo in r35183
* variable.c (mark_global_entry): fix typo in r35183. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 20d86ace37..7b0cec0755 100644
--- a/variable.c
+++ b/variable.c
@@ -460,7 +460,7 @@ readonly_setter(VALUE val, ID id, void *data, struct global_variable *gvar)
static int
mark_global_entry(st_data_t k, st_data_t v, st_data_t a)
{
- ID key = (ID)key;
+ ID key = (ID)k;
struct global_entry *entry = (struct global_entry *)v;
struct trace_var *trace;
struct global_variable *var = entry->var;