changeset 3447:afeff2c1e368 draft

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.
author xanatos <xanatos@geocities.com>
date Mon, 03 Sep 2012 17:53:27 +0300
parents 2ae05b270672
children fd14e6c5d947
files src/main.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2679,7 +2679,6 @@
                 // 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());