Remove dead variables, too?

This commit is contained in:
Juan José Mata
2025-11-16 16:28:34 +01:00
committed by GitHub
parent a409f43415
commit 32fd4eaed5

View File

@@ -53,8 +53,6 @@ module Family::AutoTransferMatchable
# Track which transactions we've already matched to avoid duplicates
used_transaction_ids = Set.new
candidates = []
Transfer.transaction do
candidates_scope.each do |match|
next if used_transaction_ids.include?(match.inflow_transaction_id) ||