dnsapi: Remove unused variable.

This commit is contained in:
Andrew Talbot 2012-11-22 21:01:58 +00:00 committed by Alexandre Julliard
parent 4be1fce0d1
commit 5ca89eaf6c
1 changed files with 0 additions and 3 deletions

View File

@ -30,8 +30,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(dnsapi); WINE_DEFAULT_DEBUG_CHANNEL(dnsapi);
static HINSTANCE hdnsapi;
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{ {
TRACE( "(%p, %d, %p)\n", hinst, reason, reserved ); TRACE( "(%p, %d, %p)\n", hinst, reason, reserved );
@ -41,7 +39,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
case DLL_WINE_PREATTACH: case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */ return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
hdnsapi = hinst;
DisableThreadLibraryCalls( hinst ); DisableThreadLibraryCalls( hinst );
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH: