aboutsummaryrefslogtreecommitdiff
path: root/src/net/main_windows_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/main_windows_test.go')
-rw-r--r--src/net/main_windows_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/main_windows_test.go b/src/net/main_windows_test.go
index 07f21b72eb..bc024c0bbd 100644
--- a/src/net/main_windows_test.go
+++ b/src/net/main_windows_test.go
@@ -8,7 +8,6 @@ import "internal/poll"
var (
// Placeholders for saving original socket system calls.
- origSocket = socketFunc
origWSASocket = wsaSocketFunc
origClosesocket = poll.CloseFunc
origConnect = connectFunc
@@ -18,7 +17,6 @@ var (
)
func installTestHooks() {
- socketFunc = sw.Socket
wsaSocketFunc = sw.WSASocket
poll.CloseFunc = sw.Closesocket
connectFunc = sw.Connect
@@ -28,7 +26,6 @@ func installTestHooks() {
}
func uninstallTestHooks() {
- socketFunc = origSocket
wsaSocketFunc = origWSASocket
poll.CloseFunc = origClosesocket
connectFunc = origConnect