aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-04-15 11:39:15 -0700
committerJeff Garzik <[email protected]>2012-04-15 11:39:15 -0700
commit5a701eb7ea16b87b56263996ee8e98ec89e2a3d8 (patch)
treefe8a60dc3eeb26e62cf4531a98b29ed99bee90e9 /src/net.cpp
parentMerge pull request #1084 from dooglus/validate_secret (diff)
parentfix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] (diff)
downloaddiscoin-5a701eb7ea16b87b56263996ee8e98ec89e2a3d8.tar.xz
discoin-5a701eb7ea16b87b56263996ee8e98ec89e2a3d8.zip
Merge pull request #1104 from laanwj/2012_04_clang
Enable and fix most compilation warnings
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 8272b2556..b0f365061 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1233,8 +1233,6 @@ void ThreadOpenConnections2(void* parg)
if (fShutdown)
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)
@@ -1260,7 +1258,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.