* win32/win32.c (StartSocket): remove unnecessary code.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-02-24 07:31:11 +00:00
parent 02c147f04e
commit 1930f14533
2 changed files with 4 additions and 9 deletions

View File

@ -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

View File

@ -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;
}