summaryrefslogtreecommitdiffstats
path: root/netwerk/base/nsUDPSocket.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-29 23:20:36 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-29 23:20:36 +0200
commit81b341a9b37acae2b60e0334a9b0846bc5be8445 (patch)
treeb998e480ac1971ea93101510438ba1e87d9db82a /netwerk/base/nsUDPSocket.cpp
parentddf29811b2d95bdf8385b9eb85519332b69344ca (diff)
downloadUXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.gz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.lz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.tar.xz
UXP-81b341a9b37acae2b60e0334a9b0846bc5be8445.zip
Clean up a number of unused variables.
Tag #21.
Diffstat (limited to 'netwerk/base/nsUDPSocket.cpp')
-rw-r--r--netwerk/base/nsUDPSocket.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/netwerk/base/nsUDPSocket.cpp b/netwerk/base/nsUDPSocket.cpp
index 24f3954cb..445b62d9c 100644
--- a/netwerk/base/nsUDPSocket.cpp
+++ b/netwerk/base/nsUDPSocket.cpp
@@ -770,12 +770,6 @@ nsUDPSocket::CloseSocket()
// If shutdown last to long, let the socket leak and do not close it.
UDPSOCKET_LOG(("Intentional leak"));
} else {
-
- PRIntervalTime closeStarted = 0;
- if (gSocketTransportService->IsTelemetryEnabledAndNotSleepPhase()) {
- closeStarted = PR_IntervalNow();
- }
-
PR_Close(mFD);
}
mFD = nullptr;