diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-07 15:25:26 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-07 15:28:50 +0100 |
commit | b709fe7ffc44ae14bbd2403cdfbfa4fcf94cef6b (patch) | |
tree | 9f6005c08a05024d07bcbf358f9b170d3c77f857 /src/addrman.cpp | |
parent | 729de15b6365face6ae9e12a03624da33a6302f0 (diff) | |
parent | 90fd29bd0dcbaf5d5c4ef9e69824297c35f0b88e (diff) |
Merge #9532: Remove unused variables
90fd29b Remove unused int64_t nSinceLastSeen (practicalswift)
ac4a095 Remove unused Python variables (practicalswift)
Diffstat (limited to 'src/addrman.cpp')
-rw-r--r-- | src/addrman.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/addrman.cpp b/src/addrman.cpp index ab84bf8e35..f3c238fbb2 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -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; |