Merge #9532: Remove unused variables

90fd29b Remove unused int64_t nSinceLastSeen (practicalswift)
ac4a095 Remove unused Python variables (practicalswift)
This commit is contained in:
Wladimir J. van der Laan 2017-02-07 15:25:26 +01:00
commit b709fe7ffc
No known key found for this signature in database
GPG key ID: 74810B012346C9A6
8 changed files with 2 additions and 11 deletions

View file

@ -54,11 +54,8 @@ double CAddrInfo::GetChance(int64_t nNow) const
{
double fChance = 1.0;
int64_t nSinceLastSeen = nNow - nTime;
int64_t nSinceLastTry = nNow - nLastTry;
if (nSinceLastSeen < 0)
nSinceLastSeen = 0;
if (nSinceLastTry < 0)
nSinceLastTry = 0;