wtsapi32: Remove unused variable

Andrew Talbot andrew.talbot at talbotville.com
Wed Nov 28 14:37:39 CST 2012


Changelog:
    wtsapi32: Remove unused variable.

diff --git a/dlls/wtsapi32/wtsapi32.c b/dlls/wtsapi32/wtsapi32.c
index 875cfb5..c25f75b 100644
--- a/dlls/wtsapi32/wtsapi32.c
+++ b/dlls/wtsapi32/wtsapi32.c
@@ -25,7 +25,6 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(wtsapi);
 
-static HMODULE WTSAPI32_hModule;
 
 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 {
@@ -35,7 +34,6 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
         case DLL_PROCESS_ATTACH:
         {
             DisableThreadLibraryCalls(hinstDLL);
-            WTSAPI32_hModule = hinstDLL;
             break;
         }
         case DLL_PROCESS_DETACH:




More information about the wine-patches mailing list