зеркало из https://github.com/github/ruby.git
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:
Родитель
1e22638295
Коммит
563706fa19
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче