diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-22 09:38:00 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-07-22 09:38:10 -0400 |
commit | 62baa28787a02515bdfd1eb91279a3d00f503e34 (patch) | |
tree | 47a937de28004ea776bb7caf1aa366677e7d182f /src/wallet | |
parent | 59407fce54faa35d3e2429f712e9b7af51f5aa9b (diff) | |
parent | 3dee4cc5098c6e9bcc13df9d6277478c8273a6cd (diff) |
Merge #13691: Remove redundant variables, statements and forward declarations
3dee4cc509 Remove redundant statement (practicalswift)
99be644966 Remove redundant unused variables (practicalswift)
66ed242343 Remove redundant forward declaration (practicalswift)
Pull request description:
Remove redundant …
* ~access modifiers,~
* forward declarations,
* unused variables,
* statements, and
* ~return types from lambdas.~
Tree-SHA512: 328bb7d9c45398e44ecbee32095b6376879470dfddbc2180e037620d8390d524b51d7fda112fd58a078715e04432b24dd6998a2459f3550aa0498aa68de866d4
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/coinselection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/coinselection.cpp b/src/wallet/coinselection.cpp index a403411e5b..78258cdec2 100644 --- a/src/wallet/coinselection.cpp +++ b/src/wallet/coinselection.cpp @@ -115,7 +115,7 @@ bool SelectCoinsBnB(std::vector<CInputCoin>& utxo_pool, const CAmount& target_va while (!curr_selection.empty() && !curr_selection.back()) { curr_selection.pop_back(); curr_available_value += utxo_pool.at(curr_selection.size()).effective_value; - }; + } if (curr_selection.empty()) { // We have walked back to the first utxo and no branch is untraversed. All solutions searched break; |