mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (local_push_gen): disable unused variable warnings in
eval. [ruby-dev:41869] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ad717fa7e6
commit
3f606b9aca
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Jul 21 15:00:19 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (local_push_gen): disable unused variable warnings in
|
||||
eval. [ruby-dev:41869]
|
||||
|
||||
Wed Jul 21 13:57:37 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* vm_method.c (rb_method_boundp): revert r28543, r28564.
|
||||
|
|
2
parse.y
2
parse.y
|
@ -8950,7 +8950,7 @@ local_push_gen(struct parser_params *parser, int inherit_dvars)
|
|||
local->prev = lvtbl;
|
||||
local->args = vtable_alloc(0);
|
||||
local->vars = vtable_alloc(inherit_dvars ? DVARS_INHERIT : DVARS_TOPSCOPE);
|
||||
local->used = RTEST(ruby_verbose) ? vtable_alloc(0) : 0;
|
||||
local->used = !inherit_dvars && RTEST(ruby_verbose) ? vtable_alloc(0) : 0;
|
||||
lvtbl = local;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue