ntprint: Remove unused variable

Andrew Talbot andrew.talbot at talbotville.com
Sat Nov 24 15:09:42 CST 2012


Changelog:
    ntprint: Remove unused variable.

diff --git a/dlls/ntprint/ntprint.c b/dlls/ntprint/ntprint.c
index b816666..a5431b6 100644
--- a/dlls/ntprint/ntprint.c
+++ b/dlls/ntprint/ntprint.c
@@ -36,8 +36,6 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(ntprint);
 
-static HINSTANCE NTPRINT_hInstance = NULL;
-
 typedef struct {
   LPMONITOR_INFO_2W mi2;    /* Buffer for installed Monitors */
   DWORD installed;          /* Number of installed Monitors */
@@ -56,7 +54,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
             return FALSE;           /* prefer native version */
 
         case DLL_PROCESS_ATTACH:
-            NTPRINT_hInstance = hinstDLL;
             DisableThreadLibraryCalls( hinstDLL );
             break;
     }




More information about the wine-patches mailing list