Andrew Talbot : uxtheme: Remove unused variable.

Alexandre Julliard julliard at winehq.org
Thu Nov 29 14:15:44 CST 2012


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed Nov 28 20:37:26 2012 +0000

uxtheme: Remove unused variable.

---

 dlls/uxtheme/msstyles.c |    1 -
 dlls/uxtheme/system.c   |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/uxtheme/msstyles.c b/dlls/uxtheme/msstyles.c
index 0adb70d..8205a12 100644
--- a/dlls/uxtheme/msstyles.c
+++ b/dlls/uxtheme/msstyles.c
@@ -48,7 +48,6 @@ static BOOL MSSTYLES_GetNextToken(LPCWSTR lpStringStart, LPCWSTR lpStringEnd, LP
 static void MSSTYLES_ParseThemeIni(PTHEME_FILE tf, BOOL setMetrics);
 static HRESULT MSSTYLES_GetFont (LPCWSTR lpStringStart, LPCWSTR lpStringEnd, LPCWSTR *lpValEnd, LOGFONTW* logfont);
 
-extern HINSTANCE hDllInst;
 extern int alphaBlendMode;
 
 #define MSSTYLES_VERSION 0x0003
diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c
index 6ee1dac..8947587 100644
--- a/dlls/uxtheme/system.c
+++ b/dlls/uxtheme/system.c
@@ -57,7 +57,6 @@ static const WCHAR szDllName[] = {'D','l','l','N','a','m','e','\0'};
 
 static const WCHAR szIniDocumentation[] = {'d','o','c','u','m','e','n','t','a','t','i','o','n','\0'};
 
-DECLSPEC_HIDDEN HINSTANCE hDllInst;
 DECLSPEC_HIDDEN ATOM atDialogThemeEnabled;
 
 static DWORD dwThemeAppProperties = STAP_ALLOW_NONCLIENT | STAP_ALLOW_CONTROLS;
@@ -537,8 +536,6 @@ void UXTHEME_InitSystem(HINSTANCE hInst)
         'u','x','_','d','i','a','l','o','g','t','h','e','m','e','\0'
     };
 
-    hDllInst = hInst;
-
     atWindowTheme        = GlobalAddAtomW(szWindowTheme);
     atSubAppName         = GlobalAddAtomW(szSubAppName);
     atSubIdList          = GlobalAddAtomW(szSubIdList);




More information about the wine-cvs mailing list