From 3b9ce453a9261934c8ecc23b5e01c40ac572f7eb Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 17 Apr 2019 11:25:09 +0000 Subject: wallet_rpc_server: remove unused variable --- src/wallet/wallet_rpc_server.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 1dd589d41..254184bee 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -1835,14 +1835,12 @@ namespace tools wallet2::transfer_container transfers; m_wallet->get_transfers(transfers); - bool transfers_found = false; for (const auto& td : transfers) { if (!filter || available != td.m_spent) { if (req.account_index != td.m_subaddr_index.major || (!req.subaddr_indices.empty() && req.subaddr_indices.count(td.m_subaddr_index.minor) == 0)) continue; - transfers_found = true; wallet_rpc::transfer_details rpc_transfers; rpc_transfers.amount = td.amount(); rpc_transfers.spent = td.m_spent; -- cgit v1.2.3