aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorxanatos <xanatos@geocities.com>2012-09-03 17:53:27 +0300
committerxanatos <xanatos@geocities.com>2012-09-03 17:53:27 +0300
commit89fbd1f11cc06739087d0795048b41ab6462552b (patch)
tree5a88a6ae00cb73863cbad64c94e6c3b3372b1fad /src/main.cpp
parenteaf00a3a5d80fb50d761c14b7c295df6ae2f0e44 (diff)
Useless vector declaration
The vector isn't referenced in the small code block it's declared. I don't see any "useful" side effect in its declaration.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 71d425e15f..fe4a762527 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2679,7 +2679,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
// In case we are on a very long side-chain, it is possible that we already have
// the last block in an inv bundle sent in response to getblocks. Try to detect
// this situation and push another getblocks to continue.
- std::vector<CInv> vGetData(1,inv);
pfrom->PushGetBlocks(mapBlockIndex[inv.hash], uint256(0));
if (fDebug)
printf("force request: %s\n", inv.ToString().c_str());