Remove unused int64_t nSinceLastSeen
This commit is contained in:
parent
ac4a095306
commit
90fd29bd0d
1 changed files with 0 additions and 3 deletions
|
@ -54,11 +54,8 @@ double CAddrInfo::GetChance(int64_t nNow) const
|
||||||
{
|
{
|
||||||
double fChance = 1.0;
|
double fChance = 1.0;
|
||||||
|
|
||||||
int64_t nSinceLastSeen = nNow - nTime;
|
|
||||||
int64_t nSinceLastTry = nNow - nLastTry;
|
int64_t nSinceLastTry = nNow - nLastTry;
|
||||||
|
|
||||||
if (nSinceLastSeen < 0)
|
|
||||||
nSinceLastSeen = 0;
|
|
||||||
if (nSinceLastTry < 0)
|
if (nSinceLastTry < 0)
|
||||||
nSinceLastTry = 0;
|
nSinceLastTry = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue