aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-21 12:21:19 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-21 12:21:19 +0000
commit2242d8ebd6fe2ab53a6a7db55f6e1a1a1ebdf52c (patch)
tree1d7c077503eed70d4d4291870d11c57f2db397de /src/cryptonote_core/tx_pool.cpp
parentMerge pull request #1904 (diff)
downloadmonero-2242d8ebd6fe2ab53a6a7db55f6e1a1a1ebdf52c.tar.xz
tx_pool: silence use of uninitialized warning
The result is not actually used when uninitialized
Diffstat (limited to 'src/cryptonote_core/tx_pool.cpp')
-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;