fix warnings: unused variable 'XX' [-Wunused-variable]

This commit is contained in:
Wladimir J. van der Laan
2012-04-15 19:40:58 -04:00
committed by Luke Dashjr
parent 7c3db2129e
commit 0aa0bb1ead
4 changed files with 15 additions and 8 deletions
-3
View File
@@ -1305,8 +1305,6 @@ void ThreadOpenConnections2(void* parg)
return;
}
bool fAddSeeds = false;
// Add seed nodes if IRC isn't working
bool fTOR = (fUseProxy && addrProxy.GetPort() == 9050);
if (addrman.size()==0 && (GetTime() - nStart > 60 || fTOR) && !fTestNet)
@@ -1332,7 +1330,6 @@ void ThreadOpenConnections2(void* parg)
// Choose an address to connect to based on most recently seen
//
CAddress addrConnect;
int64 nBest = std::numeric_limits<int64>::min();
// Only connect to one address per a.b.?.? range.
// Do this here so we don't have to critsect vNodes inside mapAddresses critsect.