diff options
Diffstat (limited to 'net/tap-win32.c')
-rw-r--r-- | net/tap-win32.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/tap-win32.c b/net/tap-win32.c index 9fe4fcd5f4..081904e8d7 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -579,7 +579,6 @@ static int tap_win32_open(tap_win32_overlapped_t **phandle, } version; DWORD version_len; DWORD idThread; - HANDLE hThread; if (prefered_name != NULL) snprintf(name_buffer, sizeof(name_buffer), "%s", prefered_name); @@ -623,8 +622,8 @@ static int tap_win32_open(tap_win32_overlapped_t **phandle, *phandle = &tap_overlapped; - hThread = CreateThread(NULL, 0, tap_win32_thread_entry, - (LPVOID)&tap_overlapped, 0, &idThread); + CreateThread(NULL, 0, tap_win32_thread_entry, + (LPVOID)&tap_overlapped, 0, &idThread); return 0; } |