From 1164874afc29212155de615531266c91cfdb7e4e Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 17 May 2022 00:33:10 +0200 Subject: src, epee: fix a couple compiler warnings --- src/cryptonote_basic/account.h | 2 -- src/simplewallet/simplewallet.cpp | 2 -- 2 files changed, 4 deletions(-) (limited to 'src') diff --git a/src/cryptonote_basic/account.h b/src/cryptonote_basic/account.h index 6e887db6d..2ee9545d4 100644 --- a/src/cryptonote_basic/account.h +++ b/src/cryptonote_basic/account.h @@ -55,8 +55,6 @@ namespace cryptonote KV_SERIALIZE_VAL_POD_AS_BLOB_OPT(m_encryption_iv, default_iv) END_KV_SERIALIZE_MAP() - account_keys& operator=(account_keys const&) = default; - void encrypt(const crypto::chacha_key &key); void decrypt(const crypto::chacha_key &key); void encrypt_viewkey(const crypto::chacha_key &key); diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index d3e40ab74..a013036f1 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -6560,7 +6560,6 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector dsts_info; vector dsts; - size_t num_subaddresses = 0; for (size_t i = 0; i < local_args.size(); ) { dsts_info.emplace_back(); @@ -6619,7 +6618,6 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector