From 89fbd1f11cc06739087d0795048b41ab6462552b Mon Sep 17 00:00:00 2001 From: xanatos Date: Mon, 3 Sep 2012 17:53:27 +0300 Subject: [PATCH] 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. --- src/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 71d425e15..fe4a76252 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 vGetData(1,inv); pfrom->PushGetBlocks(mapBlockIndex[inv.hash], uint256(0)); if (fDebug) printf("force request: %s\n", inv.ToString().c_str());