dnsapi: Remove unused variable

Andrew Talbot andrew.talbot at talbotville.com
Thu Nov 22 15:01:58 CST 2012


Changelog:
    dnsapi: Remove unused variable.

diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c
index 1889552..f157230 100644
--- a/dlls/dnsapi/main.c
+++ b/dlls/dnsapi/main.c
@@ -30,8 +30,6 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(dnsapi);
 
-static HINSTANCE hdnsapi;
-
 BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID 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:
         return FALSE;  /* prefer native version */
     case DLL_PROCESS_ATTACH:
-        hdnsapi = hinst;
         DisableThreadLibraryCalls( hinst );
         break;
     case DLL_PROCESS_DETACH:




More information about the wine-patches mailing list