diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 07:31:11 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 07:31:11 +0000 |
commit | 1930f14533b0fc16dab4a3c01996033a6c5763ba (patch) | |
tree | ee5925beb43457286044c75905af22da3be41c83 | |
parent | 02c147f04eeadb4e6229a9fd423288b6ec85b629 (diff) | |
download | ruby-1930f14533b0fc16dab4a3c01996033a6c5763ba.tar.gz |
* win32/win32.c (StartSocket): remove unnecessary code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | win32/win32.c | 9 |
2 files changed, 4 insertions, 9 deletions
@@ -1,3 +1,7 @@ +Sat Feb 24 16:29:15 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/win32.c (StartSocket): remove unnecessary code. + Sat Feb 24 16:04:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * parse.y (struct local_vars): remove unused nofree member from 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; } |