summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/win32/win32.c b/win32/win32.c
index ed7473a84b..8ff3d67472 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -225,12 +225,6 @@ rb_w32_osid(void)
#define IsWinNT() rb_w32_iswinnt()
#define IsWin95() rb_w32_iswin95()
-/* main thread constants */
-static struct {
- HANDLE handle;
- DWORD id;
-} main_thread;
-
HANDLE
GetCurrentThreadHandle(void)
{
@@ -2276,9 +2270,6 @@ StartSockets(void)
fWinsock = TRUE;
- main_thread.handle = GetCurrentThreadHandle();
- main_thread.id = GetCurrentThreadId();
-
NtSocketsInitialized = 1;
}