Wallet: Fix unused variable compiler warning

g++ 7.4.0 on Ubuntu 18.04
Tadeas Moravec 4 years ago committed by wowario
parent 018654bcbf
commit 7d20d19d55
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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();

Loading…
Cancel
Save