[ruby/psych] Remove unused array

https://github.com/ruby/psych/commit/b9e7b4a4a4
This commit is contained in:
Alexander Momchilov 2023-12-19 12:26:43 -05:00 committed by Hiroshi SHIBATA
parent b4cb7ead30
commit 95e7af0c59

View File

@ -17,12 +17,10 @@ module Psych
def initialize
@obj_to_id = {}.compare_by_identity
@obj_to_node = {}.compare_by_identity
@targets = []
@counter = 0
end
def register target, node
@targets << target
@obj_to_node[target] = node
end