diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-25 04:58:02 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-25 04:58:02 +0000 |
commit | 45c61f40b23b14e97428206e1b813eb813526e6f (patch) | |
tree | bbffa6043ed1e8b6a501d23c3b4874ae3390ddd8 /variable.c | |
parent | 369fe1e8394b494c78d56aedfe6b0b809d7d1c10 (diff) |
remove unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 845d55a36c..c4f2d0d3c0 100644 --- a/variable.c +++ b/variable.c @@ -553,10 +553,11 @@ f_untrace_var(argc, argv) if (!st_lookup(global_tbl, id, &entry)) { NameError("undefined global variable %s", rb_id2name(id)); } + + trace = entry->trace; if (NIL_P(cmd)) { VALUE ary = ary_new(); - trace = entry->trace; while (trace) { struct trace_var *next = trace->next; ary_push(ary, (VALUE)trace->data); |