aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-23 11:45:00 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-23 11:45:00 +0200
commit4ec8a4c2b67a67981fda1fde31e4fbf19870b054 (patch)
tree5a5322d70beae5eb02dcee9477677cf9db2919f0
parentMerge pull request #1898 (diff)
parenttx_pool: silence use of uninitialized warning (diff)
downloadmonero-4ec8a4c2b67a67981fda1fde31e4fbf19870b054.tar.xz
Merge pull request #1905
2242d8eb tx_pool: silence use of uninitialized warning (moneromooo-monero)
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
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;