diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-21 12:21:19 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-21 12:21:19 +0000 |
commit | 2242d8ebd6fe2ab53a6a7db55f6e1a1a1ebdf52c (patch) | |
tree | 1d7c077503eed70d4d4291870d11c57f2db397de /src/cryptonote_core/tx_pool.cpp | |
parent | Merge pull request #1904 (diff) | |
download | monero-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.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; |