aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-05-26 21:25:06 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-05-26 21:25:06 -0500
commite8252ef99bb4138e4afcac314a191e7fdf8d8553 (patch)
treeb452a60b7ec89fe38f4d0f5d1489544b5a99bb62 /src/simplewallet
parentMerge pull request #8331 (diff)
parentsrc, epee: fix a couple compiler warnings (diff)
downloadmonero-e8252ef99bb4138e4afcac314a191e7fdf8d8553.tar.xz
Merge pull request #8337
1164874 src, epee: fix a couple compiler warnings (selsta)
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 05d10b734..f6e313089 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -6611,7 +6611,6 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
vector<cryptonote::address_parse_info> dsts_info;
vector<cryptonote::tx_destination_entry> dsts;
- size_t num_subaddresses = 0;
for (size_t i = 0; i < local_args.size(); )
{
dsts_info.emplace_back();
@@ -6670,7 +6669,6 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
de.addr = info.address;
de.is_subaddress = info.is_subaddress;
de.is_integrated = info.has_payment_id;
- num_subaddresses += info.is_subaddress;
if (info.has_payment_id || !payment_id_uri.empty())
{