From 7d20d19d559ba1aa4c2d761d3e2cb9351dd8a686 Mon Sep 17 00:00:00 2001 From: Tadeas Moravec Date: Tue, 28 Jan 2020 13:00:19 +0100 Subject: [PATCH] Wallet: Fix unused variable compiler warning g++ 7.4.0 on Ubuntu 18.04 --- src/wallet/wallet2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 0659e2a74..36b7bdbf4 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3542,6 +3542,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo std::vector blocks; std::vector parsed_blocks; bool refreshed = false; + (void)refreshed; // Silence a compiler warning. std::shared_ptr, size_t>> output_tracker_cache; hw::device &hwdev = m_account.get_device();