From 32fd4eaed5c8f1df5df51394ec58616bc43b506a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Mata?= Date: Sun, 16 Nov 2025 16:28:34 +0100 Subject: [PATCH] Remove dead variables, too? --- app/models/family/auto_transfer_matchable.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/family/auto_transfer_matchable.rb b/app/models/family/auto_transfer_matchable.rb index 28d06f43a..2f7160292 100644 --- a/app/models/family/auto_transfer_matchable.rb +++ b/app/models/family/auto_transfer_matchable.rb @@ -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) ||