mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
suppress warning: assigned but unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e22638295
commit
563706fa19
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class RubyVM::InstructionSequence
|
|||
|
||||
def self.translate i1
|
||||
# check to_a/load_iseq
|
||||
i2_ary = compare_dump_and_load(i1,
|
||||
compare_dump_and_load(i1,
|
||||
proc{|iseq|
|
||||
ary = iseq.to_a
|
||||
ary[9] == :top ? ary : nil
|
||||
|
@ -57,7 +57,7 @@ class RubyVM::InstructionSequence
|
|||
proc{|iseq|
|
||||
begin
|
||||
iseq.to_binary
|
||||
rescue RuntimeError => e # not a toplevel
|
||||
rescue RuntimeError # not a toplevel
|
||||
# STDERR.puts [:failed, e, iseq].inspect
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue