From 2242d8ebd6fe2ab53a6a7db55f6e1a1a1ebdf52c Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 21 Mar 2017 12:21:19 +0000 Subject: [PATCH] tx_pool: silence use of uninitialized warning The result is not actually used when uninitialized --- src/cryptonote_core/tx_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index ea19b6b4..810d76c4 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -614,7 +614,7 @@ namespace cryptonote CRITICAL_REGION_LOCAL(m_transactions_lock); - uint64_t best_coinbase = 0, coinbase; + uint64_t best_coinbase = 0, coinbase = 0; total_size = 0; fee = 0;