From f63f7dc7e23db78af21bc2e41bc70bb093399971 Mon Sep 17 00:00:00 2001 From: selsta Date: Mon, 2 May 2022 21:28:40 +0200 Subject: wallet2: fix a couple unused variable warnings --- src/wallet/wallet2.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index f0b29b9a2..91521941b 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -7868,7 +7868,6 @@ void wallet2::light_wallet_get_outs(std::vector wallet2::create_transactions_2(std::vector>> unused_transfers_indices_per_subaddr; std::vector>> unused_dust_indices_per_subaddr; uint64_t needed_money; - uint64_t accumulated_fee, accumulated_outputs, accumulated_change; + uint64_t accumulated_fee, accumulated_change; struct TX { std::vector selected_transfers; std::vector dsts; @@ -9862,7 +9861,6 @@ std::vector wallet2::create_transactions_2(std::vector wallet2::create_transactions_2(std::vector preferred_inputs; - uint64_t rct_outs_needed = 2 * (fake_outs_count + 1); - rct_outs_needed += 100; // some fudge factor since we don't know how many are locked if (use_rct) { // this is used to build a tx that's 1 or 2 inputs, and 2 outputs, which @@ -9981,7 +9977,6 @@ std::vector wallet2::create_transactions_2(std::vector