Wallet: Fix unused variable compiler warning

g++ 7.4.0 on Ubuntu 18.04
This commit is contained in:
Tadeas Moravec 2020-01-28 13:00:19 +01:00 committed by wowario
parent a4895b9988
commit 1a8fe84951
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -3542,6 +3542,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
std::vector<cryptonote::block_complete_entry> blocks;
std::vector<parsed_block> parsed_blocks;
bool refreshed = false;
(void)refreshed; // Silence a compiler warning.
std::shared_ptr<std::map<std::pair<uint64_t, uint64_t>, size_t>> output_tracker_cache;
hw::device &hwdev = m_account.get_device();