aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorDaniel Kraft <d@domob.eu>2016-08-20 10:28:06 +0200
committerDaniel Kraft <d@domob.eu>2016-08-20 10:28:06 +0200
commit4207630f5aef4e1937052eb96be7209e51d1371d (patch)
tree6738a9620b4e625a5e791e9800f797048f1650d7 /src/wallet/wallet.cpp
parent2468292a03539c5b46220db15078f81915006915 (diff)
trivial: remove unused variable
Remove the unused variable "blockTmp" in CMerkleTx::SetMerkleBranch. It was previously used to read the block from disk if not provided as argument, but is no longer needed.
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index e19c40dbd1..bad8277170 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3534,7 +3534,6 @@ CWalletKey::CWalletKey(int64_t nExpires)
int CMerkleTx::SetMerkleBranch(const CBlockIndex* pindex, int posInBlock)
{
AssertLockHeld(cs_main);
- CBlock blockTmp;
// Update the tx's hashBlock
hashBlock = pindex->GetBlockHash();