[ruby/psych] Remove unused array
https://github.com/ruby/psych/commit/b9e7b4a4a4
This commit is contained in:
parent
b4cb7ead30
commit
95e7af0c59
@ -17,12 +17,10 @@ module Psych
|
|||||||
def initialize
|
def initialize
|
||||||
@obj_to_id = {}.compare_by_identity
|
@obj_to_id = {}.compare_by_identity
|
||||||
@obj_to_node = {}.compare_by_identity
|
@obj_to_node = {}.compare_by_identity
|
||||||
@targets = []
|
|
||||||
@counter = 0
|
@counter = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
def register target, node
|
def register target, node
|
||||||
@targets << target
|
|
||||||
@obj_to_node[target] = node
|
@obj_to_node[target] = node
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user