Andrew Talbot : ntprint: Remove unused variable.

Alexandre Julliard julliard at winehq.org
Mon Nov 26 15:19:20 CST 2012


Module: wine
Branch: master
Commit: 2d50946e069c3988ad400e14e1585fb4818f2471
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2d50946e069c3988ad400e14e1585fb4818f2471

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Nov 24 21:09:42 2012 +0000

ntprint: Remove unused variable.

---

 dlls/ntprint/ntprint.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

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-cvs mailing list