diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-01-12 09:33:14 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-01-12 09:33:14 -0800 |
| commit | 704205c5f7583527f9c9398261f1206c59f1b812 (patch) | |
| tree | 229e8e1e5326d47578871e75736e92f428ee04cd /node/Switch.cpp | |
| parent | bbcc3304a0e917bfa74cd098f3137fbb03078741 (diff) | |
| download | infinitytier-704205c5f7583527f9c9398261f1206c59f1b812.tar.gz infinitytier-704205c5f7583527f9c9398261f1206c59f1b812.zip | |
Dead code removal.
Diffstat (limited to 'node/Switch.cpp')
| -rw-r--r-- | node/Switch.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index d7d29f93..c17b8d1b 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -451,12 +451,6 @@ void Switch::requestWhois(const Address &addr) _sendWhoisRequest(addr,(const Address *)0,0); } -void Switch::cancelWhoisRequest(const Address &addr) -{ - Mutex::Lock _l(_outstandingWhoisRequests_m); - _outstandingWhoisRequests.erase(addr); -} - void Switch::doAnythingWaitingForPeer(const SharedPtr<Peer> &peer) { { // cancel pending WHOIS since we now know this peer |
