diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-03-23 11:45:00 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-03-23 11:45:00 +0200 |
commit | 4ec8a4c2b67a67981fda1fde31e4fbf19870b054 (patch) | |
tree | 5a5322d70beae5eb02dcee9477677cf9db2919f0 /src | |
parent | Merge pull request #1898 (diff) | |
parent | tx_pool: silence use of uninitialized warning (diff) | |
download | monero-4ec8a4c2b67a67981fda1fde31e4fbf19870b054.tar.xz |
Merge pull request #1905
2242d8eb tx_pool: silence use of uninitialized warning (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index ea19b6b48..810d76c48 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; |