From f630bbfc29a407fe717072e422f6f6faae6e88e7 Mon Sep 17 00:00:00 2001 From: meganemura Date: Sat, 1 Jan 2022 07:28:36 +0900 Subject: [PATCH] Remove unused local variable --- lib/graphql/client.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/graphql/client.rb b/lib/graphql/client.rb index 7741c080..aae2f12e 100644 --- a/lib/graphql/client.rb +++ b/lib/graphql/client.rb @@ -403,7 +403,6 @@ def sliced_definitions(document_dependencies, doc, source_location:) doc.definitions.map do |node| deps = Set.new - definitions = document_dependencies.definitions.map { |x| [x.name, x] }.to_h queue = [node.name] while name = queue.shift